#include <AsciiUtfEncoding.h>
Inheritance diagram for acdk::locale::AsciiUtfDecoder:
Public Member Functions | |
AsciiUtfDecoder (bool withCEscapes, IN(REncoding) encoding, CodingErrorAction onMalformed=ReportCodingError, CodingErrorAction onUnmappable=ReplaceCodingError) | |
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 | |
Static Public Member Functions | |
RString | decodeString (IN(RString) str) |
int | _decode (byte *bytes) |
Protected Attributes | |
bool | _withCEscapes |
|
|
|
|
|
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. |
|
|