File byte stream for input using fread().
更多...
#include <filereadstream.h>
|
typedef char | Ch |
| Character type (byte).
|
|
|
| FileReadStream (std::FILE *fp, char *buffer, size_t bufferSize) |
| Constructor. 更多...
|
|
Ch | Peek () const |
|
Ch | Take () |
|
size_t | Tell () const |
|
void | Put (Ch) |
|
void | Flush () |
|
Ch * | PutBegin () |
|
size_t | PutEnd (Ch *) |
|
const Ch * | Peek4 () const |
|
File byte stream for input using fread().
- 注解
- implements Stream concept
rapidjson::FileReadStream::FileReadStream |
( |
std::FILE * |
fp, |
|
|
char * |
buffer, |
|
|
size_t |
bufferSize |
|
) |
| |
|
inline |
Constructor.
- 参数
-
fp | File pointer opened for read. |
buffer | user-supplied buffer. |
bufferSize | size of buffer in bytes. Must >=4 bytes. |
该类的文档由以下文件生成: