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

Method Serialize

src/pubkey.h:226–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224 bool Derive(CExtPubKey& out, unsigned int nChild) const;
225
226 void Serialize(CSizeComputer& s) const
227 {
228 // Optimized implementation for ::GetSerializeSize that avoids copying.
229 s.seek(BIP32_EXTKEY_SIZE + 1); // add one byte for the size (compact int)
230 }
231 template <typename Stream>
232 void Serialize(Stream& s) const
233 {

Callers

nothing calls this directly

Calls 4

WriteCompactSizeFunction · 0.85
EncodeFunction · 0.85
seekMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected