MCPcopy Create free account
hub / github.com/NGT-labs/NGT / getSerializedDataSize

Method getSerializedDataSize

lib/NGT/ArrayFile.cpp:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 void serialize(std::ostream &os, NGT::ObjectSpace *ospace = 0) { os.write((char *)&value, sizeof(value)); }
24 void deserialize(std::istream &is, NGT::ObjectSpace *ospace = 0) { is.read((char *)&value, sizeof(value)); }
25 static size_t getSerializedDataSize() { return sizeof(uint64_t); }
26 uint64_t value;
27};
28

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected