Output stream wrapper with dynamically bound encoding and automatic encoding detection.
More...
#include <encodedstream.h>
|
| AutoUTFOutputStream (OutputByteStream &os, UTFType type, bool putBOM) |
| Constructor. More...
|
|
UTFType | GetType () const |
|
void | Put (Ch c) |
|
void | Flush () |
|
Ch | Peek () const |
|
Ch | Take () |
|
size_t | Tell () const |
|
Ch * | PutBegin () |
|
size_t | PutEnd (Ch *) |
|
template<typename CharType, typename OutputByteStream>
class AutoUTFOutputStream< CharType, OutputByteStream >
Output stream wrapper with dynamically bound encoding and automatic encoding detection.
- Template Parameters
-
CharType | Type of character for writing. |
OutputByteStream | type of output byte stream to be wrapped. |
◆ AutoUTFOutputStream()
template<typename CharType , typename OutputByteStream >
Constructor.
- Parameters
-
os | output stream to be wrapped. |
type | UTF encoding type. |
putBOM | Whether to write BOM at the beginning of the stream. |