pub fn count_str_bytes<F>(inp: &str, f: F) -> usizewhere
    F: FnMut(char) -> bool,
Expand description

Counts the number of bytes that got accepted by f.