encode_paging_v2_header

Function encode_paging_v2_header 

Source
pub fn encode_paging_v2_header(
    kind: PagingKind,
    arena_bytes: u64,
    blob_bytes: u64,
) -> [u8; 25]
Expand description

2026-09-25: The 25-byte header every client sends first, in paging and raw mode: [u64 PAGING_MAGIC_V2 LE][u8 kind][u64 arena_bytes LE][u64 blob_bytes LE]. The RailSet exchange follows it.