|
ISLEman
|
State-based encoder. More...
#include <qtextcodec.h>
Public Member Functions | |
| virtual | ~QTextEncoder () |
| virtual QCString | fromUnicode (const QString &uc, int &lenInOut)=0 |
State-based encoder.
A QTextEncoder converts Unicode into another format, remembering any state that is required between calls.
|
virtual |
Destructs the encoder.
Converts lenInOut characters (not bytes) from uc, producing a QCString. lenInOut will also be set to the length of the result (in bytes).
The encoder is free to record state to use when subsequent calls are made to this function (for example, it might change modes with escape sequences if needed during the encoding of one string, then assume that mode applies when a subsequent call begins).
Implemented in QUtf16Encoder, and QTextStatelessEncoder.
1.8.12