using System;
using Cpp2IlInjected;
namespace System
{
/// Converts base data types to an array of bytes, and an array of bytes to base data types.
// Token: 0x020000C2 RID: 194
[Token(Token = "0x20000C2")]
public static class BitConverter
{
// Token: 0x06000568 RID: 1384 RVA: 0x00004440 File Offset: 0x00002640
[Token(Token = "0x6000568")]
[Address(RVA = "0x2D0B9F0", Offset = "0x2D0A9F0", VA = "0x182D0B9F0")]
private static bool AmILittleEndian()
{
return default(bool);
}
/// Returns the specified Boolean value as a byte array.
/// A Boolean value.
/// A byte array with length 1.
// Token: 0x06000569 RID: 1385 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000569")]
[Address(RVA = "0x2D0BDF0", Offset = "0x2D0ADF0", VA = "0x182D0BDF0")]
public static byte[] GetBytes(bool value)
{
return null;
}
/// Returns the specified Unicode character value as an array of bytes.
/// A character to convert.
/// An array of bytes with length 2.
// Token: 0x0600056A RID: 1386 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600056A")]
[Address(RVA = "0x2D0BC40", Offset = "0x2D0AC40", VA = "0x182D0BC40")]
public static byte[] GetBytes(char value)
{
return null;
}
/// Returns the specified 16-bit signed integer value as an array of bytes.
/// The number to convert.
/// An array of bytes with length 2.
// Token: 0x0600056B RID: 1387 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600056B")]
[Address(RVA = "0x2D0BE50", Offset = "0x2D0AE50", VA = "0x182D0BE50")]
public static byte[] GetBytes(short value)
{
return null;
}
/// Returns the specified 32-bit signed integer value as an array of bytes.
/// The number to convert.
/// An array of bytes with length 4.
// Token: 0x0600056C RID: 1388 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600056C")]
[Address(RVA = "0x2D0BD90", Offset = "0x2D0AD90", VA = "0x182D0BD90")]
public static byte[] GetBytes(int value)
{
return null;
}
/// Returns the specified 64-bit signed integer value as an array of bytes.
/// The number to convert.
/// An array of bytes with length 8.
// Token: 0x0600056D RID: 1389 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600056D")]
[Address(RVA = "0x2D0BA10", Offset = "0x2D0AA10", VA = "0x182D0BA10")]
public static byte[] GetBytes(long value)
{
return null;
}
/// Returns the specified 16-bit unsigned integer value as an array of bytes.
/// The number to convert.
/// An array of bytes with length 2.
// Token: 0x0600056E RID: 1390 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600056E")]
[Address(RVA = "0x2D0BBA0", Offset = "0x2D0ABA0", VA = "0x182D0BBA0")]
[CLSCompliant(false)]
public static byte[] GetBytes(ushort value)
{
return null;
}
/// Returns the specified 32-bit unsigned integer value as an array of bytes.
/// The number to convert.
/// An array of bytes with length 4.
// Token: 0x0600056F RID: 1391 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600056F")]
[Address(RVA = "0x2D0BA70", Offset = "0x2D0AA70", VA = "0x182D0BA70")]
[CLSCompliant(false)]
public static byte[] GetBytes(uint value)
{
return null;
}
/// Returns the specified 64-bit unsigned integer value as an array of bytes.
/// The number to convert.
/// An array of bytes with length 8.
// Token: 0x06000570 RID: 1392 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000570")]
[Address(RVA = "0x2D0BEB0", Offset = "0x2D0AEB0", VA = "0x182D0BEB0")]
[CLSCompliant(false)]
public static byte[] GetBytes(ulong value)
{
return null;
}
/// Returns the specified single-precision floating point value as an array of bytes.
/// The number to convert.
/// An array of bytes with length 4.
// Token: 0x06000571 RID: 1393 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000571")]
[Address(RVA = "0x2D0BB00", Offset = "0x2D0AB00", VA = "0x182D0BB00")]
public static byte[] GetBytes(float value)
{
return null;
}
/// Returns the specified double-precision floating point value as an array of bytes.
/// The number to convert.
/// An array of bytes with length 8.
// Token: 0x06000572 RID: 1394 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000572")]
[Address(RVA = "0x2D0BCE0", Offset = "0x2D0ACE0", VA = "0x182D0BCE0")]
public static byte[] GetBytes(double value)
{
return null;
}
/// Returns a 16-bit signed integer converted from two bytes at a specified position in a byte array.
/// An array of bytes.
/// The starting position within .
/// A 16-bit signed integer formed by two bytes beginning at .
///
/// equals the length of minus 1.
///
/// is .
///
/// is less than zero or greater than the length of minus 1.
// Token: 0x06000573 RID: 1395 RVA: 0x00004458 File Offset: 0x00002658
[Token(Token = "0x6000573")]
[Address(RVA = "0x2D0C150", Offset = "0x2D0B150", VA = "0x182D0C150")]
public static short ToInt16(byte[] value, int startIndex)
{
return 0;
}
/// Returns a 32-bit signed integer converted from four bytes at a specified position in a byte array.
/// An array of bytes.
/// The starting position within .
/// A 32-bit signed integer formed by four bytes beginning at .
///
/// is greater than or equal to the length of minus 3, and is less than or equal to the length of minus 1.
///
/// is .
///
/// is less than zero or greater than the length of minus 1.
// Token: 0x06000574 RID: 1396 RVA: 0x00004470 File Offset: 0x00002670
[Token(Token = "0x6000574")]
[Address(RVA = "0x2D0C260", Offset = "0x2D0B260", VA = "0x182D0C260")]
public static int ToInt32(byte[] value, int startIndex)
{
return 0;
}
/// Returns a 64-bit signed integer converted from eight bytes at a specified position in a byte array.
/// An array of bytes.
/// The starting position within .
/// A 64-bit signed integer formed by eight bytes beginning at .
///
/// is greater than or equal to the length of minus 7, and is less than or equal to the length of minus 1.
///
/// is .
///
/// is less than zero or greater than the length of minus 1.
// Token: 0x06000575 RID: 1397 RVA: 0x00004488 File Offset: 0x00002688
[Token(Token = "0x6000575")]
[Address(RVA = "0x2D0C3A0", Offset = "0x2D0B3A0", VA = "0x182D0C3A0")]
public static long ToInt64(byte[] value, int startIndex)
{
return 0L;
}
/// Returns a 16-bit unsigned integer converted from two bytes at a specified position in a byte array.
/// The array of bytes.
/// The starting position within .
/// A 16-bit unsigned integer formed by two bytes beginning at .
///
/// equals the length of minus 1.
///
/// is .
///
/// is less than zero or greater than the length of minus 1.
// Token: 0x06000576 RID: 1398 RVA: 0x000044A0 File Offset: 0x000026A0
[Token(Token = "0x6000576")]
[Address(RVA = "0x2D0CA30", Offset = "0x2D0BA30", VA = "0x182D0CA30")]
[CLSCompliant(false)]
public static ushort ToUInt16(byte[] value, int startIndex)
{
return 0;
}
/// Returns a 32-bit unsigned integer converted from four bytes at a specified position in a byte array.
/// An array of bytes.
/// The starting position within .
/// A 32-bit unsigned integer formed by four bytes beginning at .
///
/// is greater than or equal to the length of minus 3, and is less than or equal to the length of minus 1.
///
/// is .
///
/// is less than zero or greater than the length of minus 1.
// Token: 0x06000577 RID: 1399 RVA: 0x000044B8 File Offset: 0x000026B8
[Token(Token = "0x6000577")]
[Address(RVA = "0x2D0CBD0", Offset = "0x2D0BBD0", VA = "0x182D0CBD0")]
[CLSCompliant(false)]
public static uint ToUInt32(byte[] value, int startIndex)
{
return 0U;
}
/// Returns a 64-bit unsigned integer converted from eight bytes at a specified position in a byte array.
/// An array of bytes.
/// The starting position within .
/// A 64-bit unsigned integer formed by the eight bytes beginning at .
///
/// is greater than or equal to the length of minus 7, and is less than or equal to the length of minus 1.
///
/// is .
///
/// is less than zero or greater than the length of minus 1.
// Token: 0x06000578 RID: 1400 RVA: 0x000044D0 File Offset: 0x000026D0
[Token(Token = "0x6000578")]
[Address(RVA = "0x2D0CC70", Offset = "0x2D0BC70", VA = "0x182D0CC70")]
[CLSCompliant(false)]
public static ulong ToUInt64(byte[] value, int startIndex)
{
return 0UL;
}
/// Returns a single-precision floating point number converted from four bytes at a specified position in a byte array.
/// An array of bytes.
/// The starting position within .
/// A single-precision floating point number formed by four bytes beginning at .
///
/// is greater than or equal to the length of minus 3, and is less than or equal to the length of minus 1.
///
/// is .
///
/// is less than zero or greater than the length of minus 1.
// Token: 0x06000579 RID: 1401 RVA: 0x000044E8 File Offset: 0x000026E8
[Token(Token = "0x6000579")]
[Address(RVA = "0x2D0C540", Offset = "0x2D0B540", VA = "0x182D0C540")]
public static float ToSingle(byte[] value, int startIndex)
{
return 0f;
}
/// Returns a double-precision floating point number converted from eight bytes at a specified position in a byte array.
/// An array of bytes.
/// The starting position within .
/// A double precision floating point number formed by eight bytes beginning at .
///
/// is greater than or equal to the length of minus 7, and is less than or equal to the length of minus 1.
///
/// is .
///
/// is less than zero or greater than the length of minus 1.
// Token: 0x0600057A RID: 1402 RVA: 0x00004500 File Offset: 0x00002700
[Token(Token = "0x600057A")]
[Address(RVA = "0x2D0C0A0", Offset = "0x2D0B0A0", VA = "0x182D0C0A0")]
public static double ToDouble(byte[] value, int startIndex)
{
return 0.0;
}
// Token: 0x0600057B RID: 1403 RVA: 0x00004518 File Offset: 0x00002718
[Token(Token = "0x600057B")]
[Address(RVA = "0x2D0BF50", Offset = "0x2D0AF50", VA = "0x182D0BF50")]
private static char GetHexValue(int i)
{
return '\0';
}
/// Converts the numeric value of each element of a specified subarray of bytes to its equivalent hexadecimal string representation.
/// An array of bytes.
/// The starting position within .
/// The number of array elements in to convert.
/// A string of hexadecimal pairs separated by hyphens, where each pair represents the corresponding element in a subarray of ; for example, "7F-2C-4A-00".
///
/// is .
///
/// or is less than zero.
/// -or-
/// is greater than zero and is greater than or equal to the length of .
/// The combination of and does not specify a position within ; that is, the parameter is greater than the length of minus the parameter.
// Token: 0x0600057C RID: 1404 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600057C")]
[Address(RVA = "0x2D0C680", Offset = "0x2D0B680", VA = "0x182D0C680")]
public static string ToString(byte[] value, int startIndex, int length)
{
return null;
}
/// Converts the numeric value of each element of a specified array of bytes to its equivalent hexadecimal string representation.
/// An array of bytes.
/// A string of hexadecimal pairs separated by hyphens, where each pair represents the corresponding element in ; for example, "7F-2C-4A-00".
///
/// is .
// Token: 0x0600057D RID: 1405 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600057D")]
[Address(RVA = "0x2D0C5F0", Offset = "0x2D0B5F0", VA = "0x182D0C5F0")]
public static string ToString(byte[] value)
{
return null;
}
/// Returns a Boolean value converted from the byte at a specified position in a byte array.
/// A byte array.
/// The index of the byte within .
///
/// if the byte at in is nonzero; otherwise, .
///
/// is .
///
/// is less than zero or greater than the length of minus 1.
// Token: 0x0600057E RID: 1406 RVA: 0x00004530 File Offset: 0x00002730
[Token(Token = "0x600057E")]
[Address(RVA = "0x2D0BF70", Offset = "0x2D0AF70", VA = "0x182D0BF70")]
public static bool ToBoolean(byte[] value, int startIndex)
{
return default(bool);
}
/// Converts the specified double-precision floating point number to a 64-bit signed integer.
/// The number to convert.
/// A 64-bit signed integer whose value is equivalent to .
// Token: 0x0600057F RID: 1407 RVA: 0x00004548 File Offset: 0x00002748
[Token(Token = "0x600057F")]
[Address(RVA = "0x6841A0", Offset = "0x6831A0", VA = "0x1806841A0")]
public static long DoubleToInt64Bits(double value)
{
return 0L;
}
/// Converts the specified 64-bit signed integer to a double-precision floating point number.
/// The number to convert.
/// A double-precision floating point number whose value is equivalent to .
// Token: 0x06000580 RID: 1408 RVA: 0x00004560 File Offset: 0x00002760
[Token(Token = "0x6000580")]
[Address(RVA = "0x2D0BF60", Offset = "0x2D0AF60", VA = "0x182D0BF60")]
public static double Int64BitsToDouble(long value)
{
return 0.0;
}
/// Indicates the byte order ("endianness") in which data is stored in this computer architecture.
// Token: 0x0400021E RID: 542
[Token(Token = "0x400021E")]
public static readonly bool IsLittleEndian;
}
}