rapidjson::FileReadStream类 参考

File byte stream for input using fread(). 更多...

#include <filereadstream.h>

Public 类型

typedef char Ch
 Character type (byte).
 

Public 成员函数

 FileReadStream (std::FILE *fp, char *buffer, size_t bufferSize)
 Constructor. 更多...
 
Ch Peek () const
 
Ch Take ()
 
size_t Tell () const
 
void Put (Ch)
 
void Flush ()
 
ChPutBegin ()
 
size_t PutEnd (Ch *)
 
const ChPeek4 () const
 

详细描述

File byte stream for input using fread().

注解
implements Stream concept

构造及析构函数说明

◆ FileReadStream()

rapidjson::FileReadStream::FileReadStream ( std::FILE *  fp,
char *  buffer,
size_t  bufferSize 
)
inline

Constructor.

参数
fpFile pointer opened for read.
bufferuser-supplied buffer.
bufferSizesize of buffer in bytes. Must >=4 bytes.

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