API:System.SysUtils.TUTF8Encoding.GetPreamble

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

Delphi

function GetPreamble: TBytes; override;

C++

virtual TBytes __fastcall GetPreamble();

プロパティ

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

説明

使用されたエンコードを表すプリアンブル部をバイト配列として返します。

System.SysUtils.TUTF8Encoding.GetPreamble は System.SysUtils.TMBCSEncoding.GetPreamble を継承しています。以下の内容はすべて System.SysUtils.TMBCSEncoding.GetPreamble を参照しています。

使用されたエンコードを表すプリアンブル部をバイト配列として返します。

TMBCSEncoding クラスの GetPreamble は、長さが 0 の配列を返します。TMBCSEncoding では、特別なプリアンブル部は定義されていません。これは、下位クラスに任されています。

関連項目