System.SysUtils.TEncoding.GetPreamble
Delphi
function GetPreamble: TBytes; virtual; abstract;
C++
virtual TBytes __fastcall GetPreamble() = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | TEncoding |
Description
Returns a preamble in a byte array that specifies the encoding used.
TEncoding.GetPreamble returns an array of bytes of type TBytes that contains the preamble required for the encoding used. If no preamble is required, a zero length array is returned.
See Also