System::Text::Unicode::Utf8 class

Utf8 class

Provides static methods for working with UTF-8 encoded data.

class Utf8

Methods

MethodDescription
static FromUtf16(ReadOnlySpan<char16_t>, Span<uint8_t>, int32_t&, int32_t&, bool, bool)Converts a span of UTF-16 characters into a span of UTF-8 bytes.
static IsValid(ReadOnlySpan<uint8_t>)Returns true if the provided span contains a valid UTF-8 sequence.

See Also