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

Method parseStringHelper

include/sonic/dom/parser.h:132–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 }
131
132 sonic_force_inline StringView parseStringHelper() {
133 uint8_t *src = json_buf_ + pos_;
134 uint8_t *sdst = src;
135 size_t n = internal::parseStringInplace(src, err_);
136 pos_ = src - json_buf_;
137 return StringView(reinterpret_cast<char *>(sdst), n);
138 }
139
140 template <typename SAX>
141 sonic_force_inline bool parseStrInPlace(SAX &sax) {

Callers

nothing calls this directly

Calls 1

parseStringInplaceFunction · 0.50

Tested by

no test coverage detected