Skip to main content

pack_4bit

Function pack_4bit 

Source
pub fn pack_4bit(values: &[u8]) -> Vec<u8> 
Expand description

Pack 4-bit values into a byte array. Each input value should be 0-15.