System.SysUtils.TMBCSEncoding.GetPreamble

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetPreamble: TBytes; override;

C++

virtual System::DynamicArray<System::Byte> __fastcall GetPreamble(void);

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils TMBCSEncoding

Description

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

In the TMBCSEncoding class, GetPreamble returns a zero-length array. TMBCSEncoding does not define a specific preamble. This is left to descendant classes.

See Also