Input stream wrapper with dynamically bound encoding and automatic encoding detection. 更多...
#include <encodedstream.h>
Public 类型 | |
| typedef CharType | Ch |
Public 成员函数 | |
| AutoUTFInputStream (InputByteStream &is, UTFType type=kUTF8) | |
| Constructor. 更多... | |
| UTFType | GetType () const |
| bool | HasBOM () const |
| Ch | Peek () const |
| Ch | Take () |
| size_t | Tell () const |
| void | Put (Ch) |
| void | Flush () |
| Ch * | PutBegin () |
| size_t | PutEnd (Ch *) |
Input stream wrapper with dynamically bound encoding and automatic encoding detection.
| CharType | Type of character for reading. |
| InputByteStream | type of input byte stream to be wrapped. |
|
inline |
Constructor.
| is | input stream to be wrapped. |
| type | UTF encoding type if it is not detected from the stream. |