MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / ClearBuffer

Function ClearBuffer

native/thirdpart/tinyxml2/tinyxml2.h:2321–2325  ·  view source on GitHub ↗

If in print to memory mode, reset the buffer to the beginning. */

Source from the content-addressed store, hash-verified

2319 beginning.
2320 */
2321 void ClearBuffer( bool resetToFirstElement = true ) {
2322 _buffer.Clear();
2323 _buffer.Push(0);
2324 _firstElement = resetToFirstElement;
2325 }
2326
2327protected:
2328 virtual bool CompactMode( const XMLElement& ) { return _compactMode; }

Callers

nothing calls this directly

Calls 2

PushMethod · 0.80
ClearMethod · 0.45

Tested by

no test coverage detected