pub fn checked_bits_to_uint(bits: &[bool]) -> Option<usize>
Expand description

Converts a vector of input bits (little-endian) to its integer representation Returns None if the length of bits is greater than the number of bits in a usize, which would cause an attempt to shift left with overflow