State-based decoder. More...
#include <qtextcodec.h>
Public Member Functions | |
| virtual | ~QTextDecoder () |
| virtual QString | toUnicode (const char *chars, int len)=0 |
State-based decoder.
A QTextEncoder converts a text format into Unicode, remembering any state that is required between calls.
Definition at line 56 of file qtextcodec.h.
|
virtual |
|
pure virtual |
Converts the first len bytes at chars to Unicode, returning the result.
If not all characters are used (eg. only part of a multi-byte encoding is at the end of the characters), the decoder remembers enough state to continue with the next call to this function.
Implemented in QTextCodecFromIODDecoder, QUtf16Decoder, QTextStatelessDecoder, and QUtf8Decoder.
1.8.11