System.SysUtils.TEncoding.GetPreamble

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function GetPreamble: TBytes; virtual; abstract;

C++

virtual System::DynamicArray<System::Byte> __fastcall GetPreamble(void) = 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


Code Examples