System::Text::UTF8Encoding::GetPreamble method

UTF8Encoding::GetPreamble method

Get codepage preamble.

ArrayPtr<uint8_t> System::Text::UTF8Encoding::GetPreamble() override

ReturnValue

If UTF-8 identifier emitting is enabled, returns array with BOM characters, otherwise returns empty array.

See Also