Function miniz_oxide::inflate::core::read_byte

source ยท
fn read_byte<F>(in_iter: &mut Iter<'_, u8>, flags: u32, f: F) -> Action
where F: FnOnce(u8) -> Action,
Expand description

Try to read one byte from in_iter and call f with the read byte as an argument, returning the result. If reading fails, Action::End is returned