MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / Serialize

Method Serialize

src/streams.h:387–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385
386 template<typename Stream>
387 void Serialize(Stream& s) const
388 {
389 // Special case: stream << stream concatenates like stream += stream
390 if (!vch.empty())
391 s.write((char*)vch.data(), vch.size() * sizeof(value_type));
392 }
393
394 template<typename T>
395 CDataStream& operator<<(const T& obj)

Callers

nothing calls this directly

Calls 4

emptyMethod · 0.45
writeMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected