System::Text::UTF8Encoding::GetPreamble 方法

UTF8Encoding::GetPreamble method

获取代码页前导字节。

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

ReturnValue

如果启用了 UTF-8 标识符输出,则返回包含 BOM 字符的数组,否则返回空数组。

另见