Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/bolt
/ saveType
Function
saveType
bolt/vector/VectorSaver.cpp:592–595 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
590
} // namespace
591
592
void saveType(const TypePtr& type, std::ostream& out) {
593
auto serialized = toJson(type->serialize());
594
write(serialized, out);
595
}
596
597
TypePtr restoreType(std::istream& in) {
598
static folly::once_flag kOnce;
Callers
2
saveVector
Function · 0.85
testTypeRoundTrip
Method · 0.85
Calls
3
toJson
Function · 0.85
write
Function · 0.70
serialize
Method · 0.45
Tested by
1
testTypeRoundTrip
Method · 0.68