MCPcopy Create free account
hub / github.com/bytedance/bolt / string>

Method string>

bolt/vector/VectorSaver.cpp:57–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56template <>
57void write<std::string>(const std::string& value, std::ostream& out) {
58 write<int32_t>(value.size(), out);
59 out.write(value.data(), value.size());
60}
61
62template <typename T>
63T read(std::istream& in) {

Callers

nothing calls this directly

Calls 5

sizeMethod · 0.45
writeMethod · 0.45
dataMethod · 0.45
resizeMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected