#include <UCS2Encoding.h>
Inheritance diagram for acdk::locale::UCS2Encoding:
Public Member Functions | |
float | averageBytesPerChar () |
return the average bytes used to encode one character | |
float | maxBytesPerChar () |
return the maximum count of bytes use to encode one character | |
virtual REncoder | getEncoder (CodingErrorAction onMalformed=ReportCodingError, CodingErrorAction onUnmappable=ReplaceCodingError) |
virtual RDecoder | getDecoder (CodingErrorAction onMalformed=ReportCodingError, CodingErrorAction onUnmappable=ReplaceCodingError) |
Static Public Member Functions | |
REncoding | getUCS2NativeEncoding () |
return encoding with native endianess | |
REncoding | getUCS2LeEncoding () |
return encoding with little endianess | |
REncoding | getUCS2BeEncoding () |
return encoding with big endianess | |
REncoding | getUCS2Encoding (IN(RString) str) |
understands UCS2, UCS2-LE, UCS2-BE | |
Protected Member Functions | |
UCS2Encoding (IN(RString) name, UCSEndianess endian) | |
Protected Attributes | |
UCSEndianess | _endian |
|
|
|
return the average bytes used to encode one character
Implements acdk::locale::Encoding. |
|
Implements acdk::locale::Encoding. |
|
Implements acdk::locale::Encoding. |
|
return encoding with big endianess
|
|
understands UCS2, UCS2-LE, UCS2-BE
|
|
return encoding with little endianess
|
|
return encoding with native endianess
|
|
return the maximum count of bytes use to encode one character
Implements acdk::locale::Encoding. |
|
|