System.SysUtils.TEncoding.GetPreamble

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetPreamble: TBytes; virtual; abstract;

C++

virtual System::DynamicArray<System::Byte> __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


Code Examples