A StreamConverter converts streams from one encoding (inEncoding) into another (outEncoding). If a character cannot be represented in outEncoding, defaultChar is used instead. If a byte sequence is not valid in inEncoding, defaultChar is used instead and the encoding error count is incremented.
Direct Base Classes: UnbufferedStreamBuf
All Base Classes: UnbufferedStreamBuf
Creates the StreamConverterBuf and connects it to the given input stream.
Creates the StreamConverterBuf and connects it to the given output stream.
Destroys the StreamConverterBuf.
int errors() const;
Returns the number of encoding errors encountered.