Trait nom::InputTake [] [src]

pub trait InputTake {
    fn take<P>(&self, count: usize) -> Option<&Self>;
    fn take_split<P>(&self, count: usize) -> Option<(&Self, &Self)>;
}

abstracts slicing operations

Required Methods

returns a slice of count bytes

split the stream at the count byte offset

Implementors