| 41 | typedef char Ch; // byte |
| 42 | |
| 43 | MemoryStream(const Ch *src, size_t size) : src_(src), begin_(src), end_(src + size), size_(size) {} |
| 44 | |
| 45 | Ch Peek() const { return RAPIDJSON_UNLIKELY(src_ == end_) ? '\0' : *src_; } |
| 46 | Ch Take() { return RAPIDJSON_UNLIKELY(src_ == end_) ? '\0' : *src_++; } |
nothing calls this directly
no outgoing calls
no test coverage detected