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

Method toValue

flow/include/flow/ObjectSerializer.h:249–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247
248 template <class Item, class VersionOptions>
249 static Standalone<StringRef> toValue(Item const& item, VersionOptions vo) {
250 ObjectWriter writer(vo);
251 writer.serialize(item);
252 return writer.toString();
253 }
254
255 ProtocolVersion protocolVersion() const { return mProtocolVersion; }
256 void setProtocolVersion(ProtocolVersion v) {

Callers

nothing calls this directly

Calls 2

serializeMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected