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

Class CompactSizeWriter

src/serialize.h:536–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

534};
535
536class CompactSizeWriter
537{
538protected:
539 uint64_t n;
540public:
541 explicit CompactSizeWriter(uint64_t n_in) : n(n_in) { }
542
543 template<typename Stream>
544 void Serialize(Stream &s) const {
545 WriteCompactSize<Stream>(s, n);
546 }
547};
548
549template<size_t Limit>
550struct LimitedStringFormatter

Callers 4

SerializeMethod · 0.85
SerializeMethod · 0.85
SerializeMethod · 0.85
FUZZ_TARGET_INITFunction · 0.85

Calls

no outgoing calls

Tested by 1

FUZZ_TARGET_INITFunction · 0.68