pub fn eof<I: Input>(input: &mut Pear<I>) -> Result<(), I>
Succeeds only if the input has reached EOF.