pack_rounded

Function pack_rounded 

Source
pub fn pack_rounded(
    values: &[u32],
    bit_width: RoundedBitWidth,
    output: &mut [u8],
) -> usize
Expand description

Pack values using rounded bit width (SIMD-friendly)

This is much simpler than arbitrary bitpacking since values are byte-aligned. Returns the number of bytes written.