MCPcopy Create free account
hub / github.com/ElementsProject/elements / Serialize

Method Serialize

src/streams.h:320–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318
319 template<typename Stream>
320 void Serialize(Stream& s) const
321 {
322 // Special case: stream << stream concatenates like stream += stream
323 if (!vch.empty())
324 s.write(MakeByteSpan(vch));
325 }
326
327 template<typename T>
328 CDataStream& operator<<(const T& obj)

Callers

nothing calls this directly

Calls 3

MakeByteSpanFunction · 0.85
emptyMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected