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

Static Public Member Functions

static unsafe byte[] ReadBytes (byte *buffer, int byteCount)
 
static unsafe ImmutableArray< byte > ReadImmutableBytes (byte *buffer, int byteCount)
 
static unsafe void WriteBytes (this byte[] buffer, int start, byte value, int byteCount)
 
static unsafe void WriteDouble (this byte[] buffer, int start, double value)
 
static unsafe void WriteSingle (this byte[] buffer, int start, float value)
 
static void WriteByte (this byte[] buffer, int start, byte value)
 
static unsafe void WriteUInt16 (this byte[] buffer, int start, ushort value)
 
static unsafe void WriteUInt16BE (this byte[] buffer, int start, ushort value)
 
static unsafe void WriteUInt32BE (this byte[] buffer, int start, uint value)
 
static unsafe void WriteUInt32 (this byte[] buffer, int start, uint value)
 
static void WriteUInt64 (this byte[] buffer, int start, ulong value)
 
static void WriteDecimal (this byte[] buffer, int start, decimal value)
 
static unsafe void WriteGuid (this byte[] buffer, int start, Guid value)
 
static unsafe void WriteUTF8 (this byte[] buffer, int start, char *charPtr, int charCount, int byteCount, bool allowUnpairedSurrogates)
 

Static Public Attributes

const int SizeOfSerializedDecimal = 13
 
const int SizeOfGuid = 16
 

Static Package Functions

static unsafe int GetUTF8ByteCount (string str)
 
static unsafe int GetUTF8ByteCount (char *str, int charCount)
 
static unsafe int GetUTF8ByteCount (char *str, int charCount, int byteLimit, out char *remainder)
 
static bool IsSurrogateChar (int c)
 
static bool IsHighSurrogateChar (int c)
 
static bool IsLowSurrogateChar (int c)
 
static void ValidateRange (int bufferLength, int start, int byteCount, string byteCountParameterName)
 
static int GetUserStringByteLength (int characterCount)
 
static byte GetUserStringTrailingByte (string str)
 

Detailed Description

Definition at line 8 of file BlobUtilities.cs.


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