#include <AsciiEncoding.h>
Inheritance diagram for acdk::locale::AsciiEncoding:
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 | getAsciiEncoding () |
see AsciiEncoding | |
REncoding | getAsciiEncoding (IN(RString)) |
RString | decodeToString (const byte *buffer, int len=-1) |
just force a byte buffer to be a ascii string | |
Protected Member Functions | |
AsciiEncoding () |
|
|
|
return the average bytes used to encode one character
Implements acdk::locale::Encoding. |
|
just force a byte buffer to be a ascii string
|
|
|
|
see AsciiEncoding
Reimplemented from acdk::locale::Encoding. |
|
Implements acdk::locale::Encoding. |
|
Implements acdk::locale::Encoding. |
|
return the maximum count of bytes use to encode one character
Implements acdk::locale::Encoding. |