RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBigEndianUnicodeEncoding.GetPreamble Method

Returns a preamble in a byte array that specifies the encoding used.

Pascal
function GetPreamble: TBytes; override;
C++
virtual __fastcall TBytes GetPreamble();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!