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

Method Serialize

src/serialize.h:507–512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505
506 template<typename Stream>
507 void Serialize(Stream& s) const
508 {
509 WriteCompactSize(s, string.size());
510 if (!string.empty())
511 s.write((char*)string.data(), string.size());
512 }
513};
514
515template<VarIntMode Mode=VarIntMode::DEFAULT, typename I>

Callers

nothing calls this directly

Calls 5

WriteCompactSizeFunction · 0.85
sizeMethod · 0.45
emptyMethod · 0.45
writeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected