Skip to main content

pack

Function pack 

Source
pub fn pack(septets: &[u8], fill_bits: u8) -> Vec<u8> ⓘ
Expand description

Pack septets into octets, LSB first, after fill_bits zero bits (0..=7; larger values are taken modulo 8). Used with fill_bits > 0 after a UDH (23.040 §9.2.3.24).