| 139 | //! Implement serialization, as if this was a byte vector. |
| 140 | template <typename Stream> |
| 141 | void Serialize(Stream& s) const |
| 142 | { |
| 143 | unsigned int len = size(); |
| 144 | ::WriteCompactSize(s, len); |
| 145 | s.write(AsBytes(Span{vch, len})); |
| 146 | } |
| 147 | template <typename Stream> |
| 148 | void Unserialize(Stream& s) |
| 149 | { |
nothing calls this directly
no test coverage detected