MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / ClearBuffer

Function ClearBuffer

Dependencies/tinyxml2/include/tinyxml2.h:2259–2263  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2257 beginning.
2258 */
2259 void ClearBuffer() {
2260 _buffer.Clear();
2261 _buffer.Push(0);
2262 _firstElement = true;
2263 }
2264
2265protected:
2266 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