Skip to main content

huf4

Function huf4 

Source
pub fn huf4(h: Huf4<'_>) -> ([usize; 4], [u64; 4], usize)
Expand description

Runs the four-stream fast loop as far as it can go without reading before a stream’s start or writing past stream 3’s output (five symbols per stream per round); returns the updated positions, containers and symbol count. Same results as simoom-compress’s safe loop.

§Panics

If the position or size preconditions of Huf4 do not hold (checked on entry).