Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TUnicodeEncoding

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

UTF-16 Unicode encoding.

Declaration

Source position: sysencodingh.inc line 165

type TUnicodeEncoding = class(TEncoding)

public

  constructor Create; virtual;

  

Create a new instance of the TUnicodeEncoding class.

  function Clone; override;

  

Clone a TUnicodeEncoding instance.

  function GetMaxByteCount(); override;

  

Return max number of bytes needed to represent a string.

  function GetMaxCharCount(); override;

  

Return max number of characters that can be represented by an array of bytes.

  function GetPreamble; override;

  

Return BOM marker bytes.

end;

Inheritance

TUnicodeEncoding

  

UTF-16 Unicode encoding.

|

TEncoding

  

Encoding support.

|

TObject

  

Base class of all classes.

Description

TUnicodeEncoding is the encoding class used to represent the UTF-16 encoding.

See also

TUnicodeEncoding

  

UTF-16 Unicode encoding.

TUTF7Encoding

  

UTF-7 Unicode encoding.

TMBCSEncoding

  

Multi-Byte character set encoding.

TBigendianUnicodeEncoding

  

Big-endian UTF-16 Unicode encoding.


Documentation generated on: Dec 27 2024