Sign in Join
FPDoc Onlineexperiment

TEncoding.GetPreamble function

Member of TEncodingpublicIn unit sysutils

Return the BOM Marker used by the encoding.

Declaration

pascal
function GetPreamble: TBytes; virtual; abstract

Description

GetPreamble returns the BOM marker bytes used by the encoding. This is only meaningful for the UTF8 and Unicode encodings, for all other encodings there is no BOM Marker.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.