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

Method Serialize

src/util/obfuscation.h:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62 template <typename Stream>
63 void Serialize(Stream& s) const
64 {
65 // Use vector serialization for convenient compact size prefix.
66 std::vector<std::byte> bytes{KEY_SIZE};
67 std::memcpy(bytes.data(), &m_rotations[0], KEY_SIZE);
68 s << bytes;
69 }
70
71 template <typename Stream>
72 void Unserialize(Stream& s)

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected