| 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. |
nothing calls this directly
no test coverage detected