Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/rapidjson
/ Clear
Function
Clear
include/rapidjson/stringbuffer.h:60–60 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
void Flush() {}
59
60
void Clear() { stack_.Clear(); }
61
void ShrinkToFit() {
62
// Push and pop a null terminator. This is safe.
63
*stack_.template Push<Ch>() =
'\0'
;
Callers
nothing calls this directly
Calls
1
Clear
Method · 0.45
Tested by
no test coverage detected