Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
56
template <>
57
void 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
62
template <typename T>
63
T read(std::istream& in) {
Callers
nothing calls this directly
Calls
5
size
Method · 0.45
write
Method · 0.45
data
Method · 0.45
resize
Method · 0.45
read
Method · 0.45
Tested by
no test coverage detected