fn take_bits(bits: &mut Vec<bool>, count: usize) -> usize
Consume the last count bits from the end of the provided vector, interpreting them as a binary representation of a usize.
count