m
This commit is contained in:
@@ -0,0 +1,364 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System
|
||||
{
|
||||
/// <summary>Converts base data types to an array of bytes, and an array of bytes to base data types.</summary>
|
||||
// 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);
|
||||
}
|
||||
|
||||
/// <summary>Returns the specified Boolean value as a byte array.</summary>
|
||||
/// <param name="value">A Boolean value.</param>
|
||||
/// <returns>A byte array with length 1.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns the specified Unicode character value as an array of bytes.</summary>
|
||||
/// <param name="value">A character to convert.</param>
|
||||
/// <returns>An array of bytes with length 2.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns the specified 16-bit signed integer value as an array of bytes.</summary>
|
||||
/// <param name="value">The number to convert.</param>
|
||||
/// <returns>An array of bytes with length 2.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns the specified 32-bit signed integer value as an array of bytes.</summary>
|
||||
/// <param name="value">The number to convert.</param>
|
||||
/// <returns>An array of bytes with length 4.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns the specified 64-bit signed integer value as an array of bytes.</summary>
|
||||
/// <param name="value">The number to convert.</param>
|
||||
/// <returns>An array of bytes with length 8.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns the specified 16-bit unsigned integer value as an array of bytes.</summary>
|
||||
/// <param name="value">The number to convert.</param>
|
||||
/// <returns>An array of bytes with length 2.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns the specified 32-bit unsigned integer value as an array of bytes.</summary>
|
||||
/// <param name="value">The number to convert.</param>
|
||||
/// <returns>An array of bytes with length 4.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns the specified 64-bit unsigned integer value as an array of bytes.</summary>
|
||||
/// <param name="value">The number to convert.</param>
|
||||
/// <returns>An array of bytes with length 8.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns the specified single-precision floating point value as an array of bytes.</summary>
|
||||
/// <param name="value">The number to convert.</param>
|
||||
/// <returns>An array of bytes with length 4.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns the specified double-precision floating point value as an array of bytes.</summary>
|
||||
/// <param name="value">The number to convert.</param>
|
||||
/// <returns>An array of bytes with length 8.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns a 16-bit signed integer converted from two bytes at a specified position in a byte array.</summary>
|
||||
/// <param name="value">An array of bytes.</param>
|
||||
/// <param name="startIndex">The starting position within <paramref name="value" />.</param>
|
||||
/// <returns>A 16-bit signed integer formed by two bytes beginning at <paramref name="startIndex" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="startIndex" /> equals the length of <paramref name="value" /> minus 1.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="startIndex" /> is less than zero or greater than the length of <paramref name="value" /> minus 1.</exception>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns a 32-bit signed integer converted from four bytes at a specified position in a byte array.</summary>
|
||||
/// <param name="value">An array of bytes.</param>
|
||||
/// <param name="startIndex">The starting position within <paramref name="value" />.</param>
|
||||
/// <returns>A 32-bit signed integer formed by four bytes beginning at <paramref name="startIndex" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="startIndex" /> is greater than or equal to the length of <paramref name="value" /> minus 3, and is less than or equal to the length of <paramref name="value" /> minus 1.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="startIndex" /> is less than zero or greater than the length of <paramref name="value" /> minus 1.</exception>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns a 64-bit signed integer converted from eight bytes at a specified position in a byte array.</summary>
|
||||
/// <param name="value">An array of bytes.</param>
|
||||
/// <param name="startIndex">The starting position within <paramref name="value" />.</param>
|
||||
/// <returns>A 64-bit signed integer formed by eight bytes beginning at <paramref name="startIndex" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="startIndex" /> is greater than or equal to the length of <paramref name="value" /> minus 7, and is less than or equal to the length of <paramref name="value" /> minus 1.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="startIndex" /> is less than zero or greater than the length of <paramref name="value" /> minus 1.</exception>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns a 16-bit unsigned integer converted from two bytes at a specified position in a byte array.</summary>
|
||||
/// <param name="value">The array of bytes.</param>
|
||||
/// <param name="startIndex">The starting position within <paramref name="value" />.</param>
|
||||
/// <returns>A 16-bit unsigned integer formed by two bytes beginning at <paramref name="startIndex" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="startIndex" /> equals the length of <paramref name="value" /> minus 1.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="startIndex" /> is less than zero or greater than the length of <paramref name="value" /> minus 1.</exception>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns a 32-bit unsigned integer converted from four bytes at a specified position in a byte array.</summary>
|
||||
/// <param name="value">An array of bytes.</param>
|
||||
/// <param name="startIndex">The starting position within <paramref name="value" />.</param>
|
||||
/// <returns>A 32-bit unsigned integer formed by four bytes beginning at <paramref name="startIndex" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="startIndex" /> is greater than or equal to the length of <paramref name="value" /> minus 3, and is less than or equal to the length of <paramref name="value" /> minus 1.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="startIndex" /> is less than zero or greater than the length of <paramref name="value" /> minus 1.</exception>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns a 64-bit unsigned integer converted from eight bytes at a specified position in a byte array.</summary>
|
||||
/// <param name="value">An array of bytes.</param>
|
||||
/// <param name="startIndex">The starting position within <paramref name="value" />.</param>
|
||||
/// <returns>A 64-bit unsigned integer formed by the eight bytes beginning at <paramref name="startIndex" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="startIndex" /> is greater than or equal to the length of <paramref name="value" /> minus 7, and is less than or equal to the length of <paramref name="value" /> minus 1.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="startIndex" /> is less than zero or greater than the length of <paramref name="value" /> minus 1.</exception>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns a single-precision floating point number converted from four bytes at a specified position in a byte array.</summary>
|
||||
/// <param name="value">An array of bytes.</param>
|
||||
/// <param name="startIndex">The starting position within <paramref name="value" />.</param>
|
||||
/// <returns>A single-precision floating point number formed by four bytes beginning at <paramref name="startIndex" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="startIndex" /> is greater than or equal to the length of <paramref name="value" /> minus 3, and is less than or equal to the length of <paramref name="value" /> minus 1.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="startIndex" /> is less than zero or greater than the length of <paramref name="value" /> minus 1.</exception>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns a double-precision floating point number converted from eight bytes at a specified position in a byte array.</summary>
|
||||
/// <param name="value">An array of bytes.</param>
|
||||
/// <param name="startIndex">The starting position within <paramref name="value" />.</param>
|
||||
/// <returns>A double precision floating point number formed by eight bytes beginning at <paramref name="startIndex" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="startIndex" /> is greater than or equal to the length of <paramref name="value" /> minus 7, and is less than or equal to the length of <paramref name="value" /> minus 1.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="startIndex" /> is less than zero or greater than the length of <paramref name="value" /> minus 1.</exception>
|
||||
// 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';
|
||||
}
|
||||
|
||||
/// <summary>Converts the numeric value of each element of a specified subarray of bytes to its equivalent hexadecimal string representation.</summary>
|
||||
/// <param name="value">An array of bytes.</param>
|
||||
/// <param name="startIndex">The starting position within <paramref name="value" />.</param>
|
||||
/// <param name="length">The number of array elements in <paramref name="value" /> to convert.</param>
|
||||
/// <returns>A string of hexadecimal pairs separated by hyphens, where each pair represents the corresponding element in a subarray of <paramref name="value" />; for example, "7F-2C-4A-00".</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="startIndex" /> or <paramref name="length" /> is less than zero.
|
||||
/// -or-
|
||||
/// <paramref name="startIndex" /> is greater than zero and is greater than or equal to the length of <paramref name="value" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The combination of <paramref name="startIndex" /> and <paramref name="length" /> does not specify a position within <paramref name="value" />; that is, the <paramref name="startIndex" /> parameter is greater than the length of <paramref name="value" /> minus the <paramref name="length" /> parameter.</exception>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Converts the numeric value of each element of a specified array of bytes to its equivalent hexadecimal string representation.</summary>
|
||||
/// <param name="value">An array of bytes.</param>
|
||||
/// <returns>A string of hexadecimal pairs separated by hyphens, where each pair represents the corresponding element in <paramref name="value" />; for example, "7F-2C-4A-00".</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Returns a Boolean value converted from the byte at a specified position in a byte array.</summary>
|
||||
/// <param name="value">A byte array.</param>
|
||||
/// <param name="startIndex">The index of the byte within <paramref name="value" />.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the byte at <paramref name="startIndex" /> in <paramref name="value" /> is nonzero; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="startIndex" /> is less than zero or greater than the length of <paramref name="value" /> minus 1.</exception>
|
||||
// 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);
|
||||
}
|
||||
|
||||
/// <summary>Converts the specified double-precision floating point number to a 64-bit signed integer.</summary>
|
||||
/// <param name="value">The number to convert.</param>
|
||||
/// <returns>A 64-bit signed integer whose value is equivalent to <paramref name="value" />.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Converts the specified 64-bit signed integer to a double-precision floating point number.</summary>
|
||||
/// <param name="value">The number to convert.</param>
|
||||
/// <returns>A double-precision floating point number whose value is equivalent to <paramref name="value" />.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Indicates the byte order ("endianness") in which data is stored in this computer architecture.</summary>
|
||||
// Token: 0x0400021E RID: 542
|
||||
[Token(Token = "0x400021E")]
|
||||
public static readonly bool IsLittleEndian;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user