This stream converts all characters written to the underlying ostream from one character encoding into another. If a character cannot be represented in outEncoding, defaultChar is used instead. If a byte sequence written to the stream is not valid in inEncoding, defaultChar is used instead and the encoding error count is incremented.
Direct Base Classes: StreamConverterIOS, std::ostream
All Base Classes: StreamConverterIOS, std::ios, std::ostream
Creates the OutputStreamConverter and connects it to the given input stream.
Destroys the CountingOutputStream.