pub trait InputTake: Sized {
fn take(&self, count: usize) -> Self;
fn take_split(&self, count: usize) -> (Self, Self);
}Expand description
abstracts slicing operations
Required Methods
fn take_split(&self, count: usize) -> (Self, Self)
fn take_split(&self, count: usize) -> (Self, Self)
split the stream at the count byte offset. panics if count > length