Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.BitConverter Class Reference

Static Public Member Functions

static byte[] GetBytes (bool value)
 
static bool TryWriteBytes (Span< byte > destination, bool value)
 
static byte[] GetBytes (char value)
 
static bool TryWriteBytes (Span< byte > destination, char value)
 
static byte[] GetBytes (short value)
 
static bool TryWriteBytes (Span< byte > destination, short value)
 
static byte[] GetBytes (int value)
 
static bool TryWriteBytes (Span< byte > destination, int value)
 
static byte[] GetBytes (long value)
 
static bool TryWriteBytes (Span< byte > destination, long value)
 
static byte[] GetBytes (ushort value)
 
static bool TryWriteBytes (Span< byte > destination, ushort value)
 
static byte[] GetBytes (uint value)
 
static bool TryWriteBytes (Span< byte > destination, uint value)
 
static byte[] GetBytes (ulong value)
 
static bool TryWriteBytes (Span< byte > destination, ulong value)
 
static unsafe byte[] GetBytes (Half value)
 
static unsafe bool TryWriteBytes (Span< byte > destination, Half value)
 
static byte[] GetBytes (float value)
 
static bool TryWriteBytes (Span< byte > destination, float value)
 
static byte[] GetBytes (double value)
 
static bool TryWriteBytes (Span< byte > destination, double value)
 
static char ToChar (byte[] value, int startIndex)
 
static char ToChar (ReadOnlySpan< byte > value)
 
static short ToInt16 (byte[] value, int startIndex)
 
static short ToInt16 (ReadOnlySpan< byte > value)
 
static int ToInt32 (byte[] value, int startIndex)
 
static int ToInt32 (ReadOnlySpan< byte > value)
 
static long ToInt64 (byte[] value, int startIndex)
 
static long ToInt64 (ReadOnlySpan< byte > value)
 
static ushort ToUInt16 (byte[] value, int startIndex)
 
static ushort ToUInt16 (ReadOnlySpan< byte > value)
 
static uint ToUInt32 (byte[] value, int startIndex)
 
static uint ToUInt32 (ReadOnlySpan< byte > value)
 
static ulong ToUInt64 (byte[] value, int startIndex)
 
static ulong ToUInt64 (ReadOnlySpan< byte > value)
 
static Half ToHalf (byte[] value, int startIndex)
 
static unsafe Half ToHalf (ReadOnlySpan< byte > value)
 
static float ToSingle (byte[] value, int startIndex)
 
static float ToSingle (ReadOnlySpan< byte > value)
 
static double ToDouble (byte[] value, int startIndex)
 
static double ToDouble (ReadOnlySpan< byte > value)
 
static string ToString (byte[] value, int startIndex, int length)
 
static string ToString (byte[] value)
 
static string ToString (byte[] value, int startIndex)
 
static bool ToBoolean (byte[] value, int startIndex)
 
static bool ToBoolean (ReadOnlySpan< byte > value)
 
static unsafe long DoubleToInt64Bits (double value)
 
static unsafe double Int64BitsToDouble (long value)
 
static unsafe int SingleToInt32Bits (float value)
 
static unsafe float Int32BitsToSingle (int value)
 
static unsafe short HalfToInt16Bits (Half value)
 
static unsafe Half Int16BitsToHalf (short value)
 
static ulong DoubleToUInt64Bits (double value)
 
static double UInt64BitsToDouble (ulong value)
 
static uint SingleToUInt32Bits (float value)
 
static float UInt32BitsToSingle (uint value)
 
static ushort HalfToUInt16Bits (Half value)
 
static Half UInt16BitsToHalf (ushort value)
 

Static Public Attributes

static readonly bool IsLittleEndian = true
 

Detailed Description

Definition at line 9 of file BitConverter.cs.


The documentation for this class was generated from the following file: