Skip to main content

decode

Function decode 

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

Decodes an encoded buffer, appending at most max_values values to out. The count and both exception streams are claims until checked: the count against the caller ceiling, the streams against each other, and every position against the materialized range. The exception streams patch chunk by chunk in lockstep, so scratch stays two MiniBlock chunks however many exceptions the segment holds.