Unicode
static class in Unity.Collections · Unity.Collections
9 of 12 of Unity's members
In Tassix
Unicode code points and UTF-8 / UTF-16 conversion.
Fields 1
const int kMaximumValidCodePointProperties 2
static Rune BadRune { get; }static Rune ReplacementCharacter { get; }Methods 6
static bool IsValidCodePoint(int codepoint)static bool NotTrailer(byte b)static ConversionError UcsToUtf16(char* buffer, ref int index, int capacity, Rune rune)static ConversionError UcsToUtf8(byte* buffer, ref int index, int capacity, Rune rune)Encodes a code point at index, advancing it.
static ConversionError Utf16ToUcs(out Rune rune, char* buffer, ref int index, int capacity)static ConversionError Utf8ToUcs(out Rune rune, byte* buffer, ref int index, int capacity)Decodes the code point at index, advancing it past it.
Not in Tassix yet 3
Utf16ToUtf8 Utf8ToUtf16 Utf8ToUtf8