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

Method Ser

src/serialize.h:587–594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585{
586 template<typename Stream, typename V>
587 void Ser(Stream& s, const V& v)
588 {
589 Formatter formatter;
590 WriteCompactSize(s, v.size());
591 for (const typename V::value_type& elem : v) {
592 formatter.Ser(s, elem);
593 }
594 }
595
596 template<typename Stream, typename V>
597 void Unser(Stream& s, V& v)

Callers

nothing calls this directly

Calls 3

WriteCompactSizeFunction · 0.85
sizeMethod · 0.45
SerMethod · 0.45

Tested by

no test coverage detected