#include <UCS2Encoding.h>
Inheritance diagram for acdk::locale::UCS2Decoder:
Public Member Functions | |
UCS2Decoder (IN(REncoding) encoding, UCSEndianess endian=NativeEndian, CodingErrorAction onMalformed=ReportCodingError, CodingErrorAction onUnmappable=ReplaceCodingError) | |
UCSEndianess | getEndian () |
void | setEndian (UCSEndianess endian) |
virtual int | decodeToChar (IN(acdk::io::RReader) in) |
decodes one char | |
virtual RString | decodeToString (IN(acdk::io::RReader) in, int stopOn=-1) |
decodes from a byte stream to a string. | |
virtual RString | decode (IN(RString) str) |
decodes a string from one encoding to another | |
Private Attributes | |
UCSEndianess | _endian |
|
|
|
decodes a string from one encoding to another
Implements acdk::locale::Decoder. |
|
decodes one char
Implements acdk::locale::Decoder. |
|
decodes from a byte stream to a string. In normal cases the String contains a Ascii encoding if only 7bit character are in the byte stream.
Implements acdk::locale::Decoder. |
|
|
|
|
|
|