System.SysUtils.TBigEndianUnicodeEncoding.GetPreamble

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function GetPreamble: TBytes; override;

C++

virtual System::DynamicArray<System::Byte> __fastcall GetPreamble(void);

プロパティ

種類 可視性 ソース ユニット
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils TBigEndianUnicodeEncoding

説明

ビッグエンディアン UTF-16 のプリアンブル部をバイト配列として返します。

TBigEndianUnicodeEncoding クラスの GetPreamble は、ビッグエンディアン UTF-16 の BOM(バイト オーダー マーク)を返します。GetPreamble は、ビッグエンディアン UTF-16 の BOM(バイト オーダー マーク)を表す 2 バイトの配列を返します。これは、与えられたテキストがビッグエンディアン UTF-16 でエンコードされているかどうかを判別するために使用されます。

関連項目

https://docwiki.embarcadero.com/Libraries/Tokyo/j/index.php?title=System.SysUtils.TBigEndianUnicodeEncoding.GetPreamble&oldid=166585」から取得