Trait nom::InputTake [−][src]
pub trait InputTake: Sized { fn take(&self, count: usize) -> Self; fn take_split(&self, count: usize) -> (Self, Self); }
Abstracts slicing operations
Required methods
fn take(&self, count: usize) -> Self
[src]
Returns a slice of count
bytes. panics if count > length
fn take_split(&self, count: usize) -> (Self, Self)
[src]
Split the stream at the count
byte offset. panics if count > length