1 #ifndef RAPIDJSON_MEMORYSTREAM_H_
2 #define RAPIDJSON_MEMORYSTREAM_H_
25 Ch Peek()
const {
return *
src_; }
27 size_t Tell()
const {
return static_cast<size_t>(
src_ -
begin_); }
35 const Ch* Peek4()
const {
47 #endif // RAPIDJSON_MEMORYBUFFER_H_
Represents an in-memory input byte stream.
Definition: memorystream.h:20
size_t size_
Size of the stream.
Definition: memorystream.h:42
const Ch * end_
End of stream.
Definition: memorystream.h:41
#define RAPIDJSON_ASSERT(x)
Assertion.
Definition: rapidjson.h:146
const Ch * begin_
Original head of the string.
Definition: memorystream.h:40
const Ch * src_
Current read position.
Definition: memorystream.h:39
common definitions and configuration