pub fn consume_bytes<F>(&mut self, f: F) -> &'a str
        where F: Fn(&Stream, u8) -> bool
    {
        let start = self.pos();
        self.skip_bytes(f);
        self.slice_back(start)
    }
/// Consumes bytes by the predicate and returns them.
///
/// The result can be empty.
Consumes bytes by the predicate and returns them.
The result can be empty.
Consumes bytes by the predicate and returns them . The result can be empty .
pub fn consume_bytes<F>(&mut self, f: F) -> &'a str
        where F: Fn(&Stream, u8) -> bool
    {
        let start = self.pos();
        self.skip_bytes(f);
        self.slice_back(start)
    }
pub fn consume_bytes < F > ( & mut self , f : F ) -> & ' a str where F : Fn ( & Stream , u8 ) -> bool { let start = self . pos ( ) ; self . skip_bytes ( f ) ; self . slice_back ( start ) }
Consumes bytes by the predicate and returns them.
Consumes bytes by the predicate and returns them .
&mut self
f
F