| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Return the BOM Marker used by the encoding
Source position: sysencodingh.inc line 83
| public function TEncoding.GetPreamble: TBytes; virtual; abstract; | 
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.
| 
 | UTF-16 unicode encoding | |
| 
 | Big-endian UTF-16 unicode encoding | |
| 
 | UTF-8 unicode encoding |