Skip to main content

scan_store

Function scan_store 

pub fn scan_store(
    bytes: &[u8],
    visit: impl FnMut(u64, u32, StoreEntry),
) -> DecodeResult<()>
Expand description

Reads entries from bytes (a run store prefix, header included), calling visit(offset_of_frame, frame_len, entry). Every byte must be valid: the checkpoint vouches for this prefix having been flushed.