Function advent_of_code_2021::day_16::take_bits[−][src]

fn take_bits(bits: &mut Vec<bool>, count: usize) -> usize
Expand description

Consume the last count bits from the end of the provided vector, interpreting them as a binary representation of a usize.