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
fn take<P>(&self, count: usize) -> Option<&Self>
returns a slice of count bytes
fn take_split<P>(&self, count: usize) -> Option<(&Self, &Self)>
split the stream at the count byte offset