| 271 | |
| 272 | template <typename Stream> |
| 273 | void Unserialize(Stream& s) |
| 274 | { |
| 275 | s >> unused; |
| 276 | s >> page_num; |
| 277 | s >> records; |
| 278 | |
| 279 | data.resize(m_header.len); |
| 280 | s.read(std::as_writable_bytes(std::span(data.data(), data.size()))); |
| 281 | |
| 282 | if (m_header.other_endian) { |
| 283 | page_num = internal_bswap_32(page_num); |
| 284 | records = internal_bswap_32(records); |
| 285 | } |
| 286 | } |
| 287 | }; |
| 288 | |
| 289 | /** Class for records representing overflow records of the BTree. |
nothing calls this directly
no test coverage detected