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

Static Public Member Functions

static unsafe nuint GetIndexOfFirstNonLatin1Char (char *pBuffer, nuint bufferLength)
 
static unsafe nuint NarrowUtf16ToLatin1 (char *pUtf16Buffer, byte *pLatin1Buffer, nuint elementCount)
 
static unsafe void WidenLatin1ToUtf16 (byte *pLatin1Buffer, char *pUtf16Buffer, nuint elementCount)
 

Static Private Member Functions

static unsafe nuint GetIndexOfFirstNonLatin1Char_Default (char *pBuffer, nuint bufferLength)
 
static unsafe nuint GetIndexOfFirstNonLatin1Char_Sse2 (char *pBuffer, nuint bufferLength)
 
static unsafe nuint NarrowUtf16ToLatin1_Sse2 (char *pUtf16Buffer, byte *pLatin1Buffer, nuint elementCount)
 
static unsafe void WidenLatin1ToUtf16_Sse2 (byte *pLatin1Buffer, char *pUtf16Buffer, nuint elementCount)
 
static unsafe void WidenLatin1ToUtf16_Fallback (byte *pLatin1Buffer, char *pUtf16Buffer, nuint elementCount)
 
static bool AllCharsInUInt32AreLatin1 (uint value)
 
static bool AllCharsInUInt64AreLatin1 (ulong value)
 
static bool FirstCharInUInt32IsLatin1 (uint value)
 
static void NarrowFourUtf16CharsToLatin1AndWriteToBuffer (ref byte outputBuffer, ulong value)
 
static void NarrowTwoUtf16CharsToLatin1AndWriteToBuffer (ref byte outputBuffer, uint value)
 

Detailed Description

Definition at line 9 of file Latin1Utility.cs.


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