aoc::year2020::day18

Function value

Source
fn value(bytes: &mut Bytes<'_>, helper: impl Fn(&mut Bytes<'_>) -> u64) -> u64
Expand description

Convenience wrapper to return the value of either the next raw digit literal or a sub-expression nested in parentheses.