载入中...
搜索中...
未找到
Public 类型 | Public 成员函数 | 所有成员列表
rapidjson::AutoUTFInputStream< CharType, InputByteStream > 模板类 参考

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 *)

## 详细描述

template<typename CharType, typename InputByteStream>
class rapidjson::AutoUTFInputStream< CharType, InputByteStream >

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.

## 构造及析构函数说明

## ◆ AutoUTFInputStream()

template<typename CharType , typename InputByteStream >

rapidjson::AutoUTFInputStream< CharType, InputByteStream >::AutoUTFInputStream | ( | InputByteStream & | is,
|  | UTFType | type = kUTF8 )
| inline

Constructor.

参数

  is | input stream to be wrapped.
  type | UTF encoding type if it is not detected from the stream.

该类的文档由以下文件生成:

- include/rapidjson/encodedstream.h