fn read_byte<F>(in_iter: &mut InputWrapper<'_>, flags: u32, f: F) -> Actionwhere F: FnOnce(u8) -> Action,
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
in_iter
f
Action::End is returned