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

Method Serialize

src/netaddress.h:233–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231 */
232 template <typename Stream>
233 void Serialize(Stream& s) const
234 {
235 if (s.GetVersion() & ADDRV2_FORMAT) {
236 SerializeV2Stream(s);
237 } else {
238 SerializeV1Stream(s);
239 }
240 }
241
242 /**
243 * Unserialize from a stream.

Callers

nothing calls this directly

Calls 1

GetVersionMethod · 0.45

Tested by

no test coverage detected