pub fn pack( out: &mut Vec<u8>, n: usize, width: u32, items: impl Iterator<Item = u64>, )
Packs items (n of them, each fitting width bits) onto out.
items
n
width
out