Skip to main content

decode_any

Function decode_any 

Source
pub fn decode_any(
    bytes: &[u8],
    max_values: usize,
    out: &mut Vec<u64>,
) -> Result<()>
Expand description

Decodes a segment produced by encode_auto, appending at most max_values values to out. Every encoding here amplifies, that is the point of compression, so decoded counts are claims until the caller vouches for them: a container claiming more than the ceiling is rejected before anything is allocated for it. Callers always know the bound, the row count their segment meta or chunk index promised.