bitstring::utils::bigendian::u16

Function make_element_set_false_from

source
pub const fn make_element_set_false_from(value: u16, ndx: usize) -> u16
Available on (crate features bigendian or net) and crate feature bigendian only.
Expand description

Set all bits from [ndx..] to false (0).

Doesn’t do anything if ndx >= ELEMENT_BITS.