pub fn skip_bytes<F>(&mut self, f: F)
        where F: Fn(&Stream, u8) -> bool
    {
        while !self.at_end() {
            let c = self.curr_byte_unchecked();
            if f(self, c) {
                self.advance(1);
            } else {
                break;
            }
        }
    }
/// Consumes bytes by the predicate.
Consumes bytes by the predicate.
Consumes bytes by the predicate .
pub fn skip_bytes<F>(&mut self, f: F)
        where F: Fn(&Stream, u8) -> bool
    {
        while !self.at_end() {
            let c = self.curr_byte_unchecked();
            if f(self, c) {
                self.advance(1);
            } else {
                break;
            }
        }
    }
pub fn skip_bytes < F > ( & mut self , f : F ) where F : Fn ( & Stream , u8 ) -> bool { while ! self . at_end ( ) { let c = self . curr_byte_unchecked ( ) ; if f ( self , c ) { self . advance ( 1 ) ; } else { break ; } } }
Consumes bytes by the predicate.
Consumes bytes by the predicate .
&mut self
f
F