15 #ifndef RAPIDJSON_MEMORYSTREAM_H_
16 #define RAPIDJSON_MEMORYSTREAM_H_
61 #endif // RAPIDJSON_MEMORYBUFFER_H_
size_t PutEnd(Ch *)
Definition: memorystream.h:46
Represents an in-memory input byte stream.
Definition: memorystream.h:34
#define RAPIDJSON_ASSERT(x)
Assertion.
Definition: rapidjson.h:344
#define RAPIDJSON_NAMESPACE_END
provide custom rapidjson namespace (closing expression)
Definition: rapidjson.h:119
const Ch * end_
End of stream.
Definition: memorystream.h:55
void Put(Ch)
Definition: memorystream.h:44
MemoryStream(const Ch *src, size_t size)
Definition: memorystream.h:37
Ch * PutBegin()
Definition: memorystream.h:43
#define RAPIDJSON_NAMESPACE_BEGIN
provide custom rapidjson namespace (opening expression)
Definition: rapidjson.h:116
const Ch * src_
Current read position.
Definition: memorystream.h:53
const Ch * begin_
Original head of the string.
Definition: memorystream.h:54
const Ch * Peek4() const
Definition: memorystream.h:49
size_t size_
Size of the stream.
Definition: memorystream.h:56
Ch Peek() const
Definition: memorystream.h:39
common definitions and configuration
size_t Tell() const
Definition: memorystream.h:41
char Ch
Definition: memorystream.h:35
void Flush()
Definition: memorystream.h:45
Ch Take()
Definition: memorystream.h:40