MCPcopy Create free account
hub / github.com/bytedance/bolt / write

Function write

bolt/vector/VectorSaver.cpp:47–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46template <typename T>
47void write(const T& value, std::ostream& out) {
48 out.write((char*)&value, sizeof(T));
49}
50
51template <>
52void write<bool>(const bool& value, std::ostream& out) {

Callers 15

saveTypeFunction · 0.70
saveVectorFunction · 0.70
TEST_FFunction · 0.50
addMethod · 0.50
writeByteMethod · 0.50
writeValueMethod · 0.50
addImplMethod · 0.50
writeMethod · 0.50
writeWithLoggingMethod · 0.50
writeMethod · 0.50
writeMethod · 0.50
writeMethod · 0.50

Calls 1

writeMethod · 0.45

Tested by 1

TEST_FFunction · 0.40