Skip to main content

interleave_bits

Function interleave_bits 

Source
pub fn interleave_bits(il: InterleaverKind, bits: &[u8]) -> Vec<u8> 
Expand description

Applies a block interleaver to bits in place-by-value: writes bit i of each padded block row-major and reads column-major. Returns the interleaved bits plus the block size used, so the deinterleaver can trim padding.