Encapsulates decoding byte sequence into character sequence. Objects of this class should only be all...
Definition: decoder.h:19
Decoder that uses encoding object for decoding. Objects of this class should only be allocated using ...
Definition: encoding_decoder.h:17
void Convert(ArrayPtr< uint8_t > bytes, int byteIndex, int byteCount, ArrayPtr< char_t > chars, int charIndex, int charCount, bool flush, int &bytesUsed, int &charsUsed, bool &completed) override
Converts bytes to characters.
void Convert(const uint8_t *bytes, int byteCount, char_t *chars, int charCount, bool flush, int &bytesUsed, int &charsUsed, bool &completed) override
Converts bytes to characters.
EncodingDecoder(const EncodingPtr &encoding_)
Constructor.
EncodingPtr encoding
Encoding to use.
Definition: encoding_decoder.h:44