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

Function writeInt32

bolt/serializers/ArrowSerializer.cpp:75–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73constexpr int kHeadN = 2;
74
75inline void writeInt32(OutputStream* out, int32_t v) {
76 out->write(reinterpret_cast<char*>(&v), sizeof(v));
77}
78inline void writeInt64(OutputStream* out, int64_t v) {
79 out->write(reinterpret_cast<char*>(&v), sizeof(v));
80}

Callers 1

flushMethod · 0.70

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected