MCPcopy Create free account
hub / github.com/apple/foundationdb / write

Method write

flow/include/flow/serialize.h:333–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331 explicit _IncludeVersion(ProtocolVersion defaultVersion) : v(defaultVersion) { ASSERT(defaultVersion.isValid()); }
332 template <class Ar>
333 void write(Ar& ar) {
334 ar.setProtocolVersion(v);
335 ar << v;
336 }
337 template <class Ar>
338 void read(Ar& ar) {
339 ar >> v;

Callers

nothing calls this directly

Calls 1

setProtocolVersionMethod · 0.45

Tested by

no test coverage detected