MCPcopy Create free account
hub / github.com/Tencent/rapidjson / GetString

Function GetString

include/rapidjson/stringbuffer.h:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 void Pop(size_t count) { stack_.template Pop<Ch>(count); }
72
73 const Ch* GetString() const {
74 // Push and pop a null terminator. This is safe.
75 *stack_.template Push<Ch>() = '\0';
76 stack_.template Pop<Ch>(1);
77
78 return stack_.template Bottom<Ch>();
79 }
80
81 size_t GetSize() const { return stack_.GetSize(); }
82

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected