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

Method Serialize

src/key.h:163–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 void SetSeed(const unsigned char* seed, unsigned int nSeedLen);
162 template <typename Stream>
163 void Serialize(Stream& s) const
164 {
165 unsigned int len = BIP32_EXTKEY_SIZE;
166 ::WriteCompactSize(s, len);
167 unsigned char code[BIP32_EXTKEY_SIZE];
168 Encode(code);
169 s.write((const char *)&code[0], len);
170 }
171 template <typename Stream>
172 void Unserialize(Stream& s)
173 {

Callers

nothing calls this directly

Calls 3

WriteCompactSizeFunction · 0.85
EncodeFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected