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

Function Clear

native/thirdpart/flatbuffers/flexbuffers.h:927–935  ·  view source on GitHub ↗

Reset all state so we can re-use the buffer.

Source from the content-addressed store, hash-verified

925
926 // Reset all state so we can re-use the buffer.
927 void Clear() {
928 buf_.clear();
929 stack_.clear();
930 finished_ = false;
931 // flags_ remains as-is;
932 force_min_bit_width_ = BIT_WIDTH_8;
933 key_pool.clear();
934 string_pool.clear();
935 }
936
937 // All value constructing functions below have two versions: one that
938 // takes a key (for placement inside a map) and one that doesn't (for inside

Callers 4

~MemPoolTMethod · 0.50
~XMLDocumentMethod · 0.50
LoadFileMethod · 0.50
ParseMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected