Skip to main content

encode_bitmask

Function encode_bitmask 

Source
pub fn encode_bitmask(values: &[u16], offset: u16) -> Vec<u8> ⓘ
Expand description

Encodes values as a bit mask, the shortest that holds the largest.