TBigEndianUnicodeEncoding
[Properties (by Name)][Methods (by Name)][Events (by Name)]
Big-endian UTF-16 Unicode encoding
Declaration
Source position: sysencodingh.inc line 179
Type
TBigEndianUnicodeEncoding = class (TUnicodeEncoding)
strict protected
procedure Swap(var B: TBytes);
function GetBytes(Chars: PUnicodeChar; CharCount: Integer;
Bytes: PByte; ByteCount: Integer) : Integer; Override
; Overload;
function GetChars(Bytes: PByte; ByteCount: Integer;
Chars: PUnicodeChar; CharCount: Integer) : Integer
; Override; Overload;
function GetAnsiBytes(Chars: PChar; CharCount: Integer) : TBytes
; Override;
function GetAnsiString(Bytes: PByte; ByteCount: Integer) : string
; Override;
function GetCodePage : Cardinal; Override;
function GetEncodingName : UnicodeString; Override;
public
function Clone : TEncoding; Override;
function GetPreamble : TBytes; Override;
end
;
Description
TBigEndianUnicodeEncoding is the encoding class used to represent the UTF-16 big-endian encoding.
Members
Member | Type | Visibility | Description |
---|---|---|---|
Clone | Method | public | Clone a TBigEndianUnicodeEncoding instance |
GetAnsiBytes | Method | strict protected | |
GetAnsiString | Method | strict protected | |
GetBytes | Method | strict protected | |
GetChars | Method | strict protected | |
GetCodePage | Method | strict protected | |
GetEncodingName | Method | strict protected | |
GetPreamble | Method | public | Return BOM marker bytes |
Swap | Method | strict protected |
Inheritance
Class | Description |
---|---|
TBigEndianUnicodeEncoding | Big-endian UTF-16 Unicode encoding |
See also
Name | Description |
---|---|
TBigendianUnicodeEncoding | Big-endian UTF-16 Unicode encoding |
TBigEndianUnicodeEncoding | Big-endian UTF-16 Unicode encoding |
TMBCSEncoding | Multi-Byte character set encoding |
TUTF7Encoding | UTF-7 Unicode encoding |