MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Peek

Function Peek

Source/ThirdParty/rapidjson/memorystream.h:45–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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_++; }
47 size_t Tell() const { return static_cast<size_t>(src_ - begin_); }
48

Callers 7

GroupStackDataClass · 0.50
ParseNextMethod · 0.50
ParseTagMethod · 0.50
ParseTagNameMethod · 0.50
ParseAttributeNameMethod · 0.50
ParseAttributeValueMethod · 0.50
SkipWhitespaceMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected