Function aoc::year2017::day21::to_index

source ยท
fn to_index(a: &[u8]) -> usize
Expand description

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