MCPcopy Create free account
hub / github.com/avast/retdec / ClearBuffer

Function ClearBuffer

deps/tinyxml2/include/tinyxml2/tinyxml2.h:2297–2301  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2295 beginning.
2296 */
2297 void ClearBuffer( bool resetToFirstElement = true ) {
2298 _buffer.Clear();
2299 _buffer.Push(0);
2300 _firstElement = resetToFirstElement;
2301 }
2302
2303protected:
2304 virtual bool CompactMode( const XMLElement& ) { return _compactMode; }

Callers

nothing calls this directly

Calls 2

ClearMethod · 0.45
PushMethod · 0.45

Tested by

no test coverage detected