MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / reset

Method reset

include/sonic/dom/parser.h:874–878  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

872
873 private:
874 sonic_force_inline void reset() {
875 pos_ = 0;
876 err_ = kErrorNone;
877 len_ = 0;
878 }
879 constexpr static size_t kJsonPaddingSize = SONICJSON_PADDING;
880
881 uint8_t *json_buf_{nullptr};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected