parse_paging_header

Function parse_paging_header 

Source
pub fn parse_paging_header<R: Read>(
    first: u64,
    r: &mut R,
) -> Result<(PagingKind, u64, u64)>
Expand description

2026-09-25: Parse the rest of the handshake header, given the first u64 the caller has read: [u8 kind][u64 arena_bytes][u64 blob_bytes]. A first u64 other than PAGING_MAGIC_V2 (with its own message for the “PAGE” + 1 value), or a kind other than SSM/KV, is an error.