Skip to main content

decode_lean_prefix

Function decode_lean_prefix 

Source
pub fn decode_lean_prefix(
    data: &[u8],
    wanted: usize,
) -> Result<(Vec<TreeEntry>, usize), TreeStreamError>
Expand description

Decode at most wanted entries from the compact HLR1 porch. The returned byte count is the exact prefix a file-backed reader had to consume.