Skip to main content

bits_to_u16_padded

Function bits_to_u16_padded 

Source
fn bits_to_u16_padded(bits: &[bool], start: usize, len: usize) -> u16
Expand description

Reads up to len bits starting at start, zero-padding if out of bounds.