Definition at line 219 of file qutfcodec.cpp.
QUtf16Decoder::QUtf16Decoder |
( |
| ) |
|
|
inline |
QString QUtf16Decoder::toUnicode |
( |
const char * |
chars, |
|
|
int |
len |
|
) |
| |
|
inlinevirtual |
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.
Implements QTextDecoder.
Definition at line 230 of file qutfcodec.cpp.
242 ch.
cell() = *chars++;
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
The QChar class provides a light-weight Unicode character.
QT_STATIC_CONST QChar byteOrderMark
QT_STATIC_CONST QChar byteOrderSwapped
bool QUtf16Decoder::headerdone |
|
private |
The documentation for this class was generated from the following file: