Output stream wrapper with dynamically bound encoding and automatic encoding detection. 更多...
#include <encodedstream.h>
Public 类型 | |
| typedef CharType | Ch |
Public 成员函数 | |
| AutoUTFOutputStream (OutputByteStream &os, UTFType type, bool putBOM) | |
| Constructor. 更多... | |
| UTFType | GetType () const |
| void | Put (Ch c) |
| void | Flush () |
| Ch | Peek () const |
| Ch | Take () |
| size_t | Tell () const |
| Ch * | PutBegin () |
| size_t | PutEnd (Ch *) |
Output stream wrapper with dynamically bound encoding and automatic encoding detection.
| CharType | Type of character for writing. |
| OutputByteStream | type of output byte stream to be wrapped. |
|
inline |
Constructor.
| os | output stream to be wrapped. |
| type | UTF encoding type. |
| putBOM | Whether to write BOM at the beginning of the stream. |