Beef Corlib
|
Public Member Functions | |
override int | GetMaxCharCount (int size) |
override int | GetCharUnitSize () |
override int | GetEncodedLength (char32 c) |
override int | Encode (char32 c, Span< uint8 > dest) |
override Result< int, EncodeError > | Encode (StringView str, Span< uint8 > dest) |
override int | GetDecodedUTF8Size (Span< uint8 > bytes) |
Returns number of UTF8 characters required to hold the decoded result. | |
override Result< int, DecodeError > | DecodeToUTF8 (Span< uint8 > inBytes, StringView outChars) |
Decodes from bytes to UTF8. | |
![]() | |
virtual int | GetEncodedSize (StringView str) |
virtual Result< int, DecodeError > | DecodeToUTF8 (Span< uint8 > inBytes, String outStr) |
Decodes from bytes to UTF8. | |
Additional Inherited Members | |
![]() | |
static Encoding | DetectEncoding (Span< uint8 > data, out int bomSize) |
![]() | |
static ASCIIEncoding | ASCII => GetEncoding<ASCIIEncoding>(ref sASCII) |
static UTF8Encoding | UTF8 => GetEncoding<UTF8Encoding>(ref sUTF8) |
static UTF8EncodingWithBOM | UTF8WithBOM => GetEncoding<UTF8EncodingWithBOM>(ref sUTF8WithBOM) |
static UTF16Encoding | UTF16 => GetEncoding<UTF16Encoding>(ref sUTF16) |
static UTF16EncodingWithBOM | UTF16WithBOM => GetEncoding<UTF16EncodingWithBOM>(ref sUTF16WithBOM) |