pub fn encode_bitmask(values: &[u16], offset: u16) -> Vec<u8> ⓘ
Encodes values as a bit mask, the shortest that holds the largest.