Function count_str_bytes

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

Counts the number of bytes that got accepted by f.