aoc::year2017::day21

Function to_index

Source
fn to_index(a: &[u8]) -> usize
Expand description

Convert a pattern slice of ones and zeroes to a binary number.