Home
last modified time | relevance | path

Searched defs:MemoryStream (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dmemorystream.h34 struct MemoryStream { struct
37MemoryStream(const Ch *src, size_t size) : src_(src), begin_(src), end_(src + size), size_(size) {} in MemoryStream() function
39 Ch Peek() const { return (src_ == end_) ? '\0' : *src_; } in Peek()
40 Ch Take() { return (src_ == end_) ? '\0' : *src_++; } in Take()
41 size_t Tell() const { return static_cast<size_t>(src_ - begin_); } in Tell()
43 Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; } in PutBegin()
44 void Put(Ch) { RAPIDJSON_ASSERT(false); } in Put()
45 void Flush() { RAPIDJSON_ASSERT(false); } in Flush()
46 size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; } in PutEnd()
49 const Ch* Peek4() const { in Peek4()
[all …]