Function pipe_chain::byte::take

source ·
pub fn take<'a, E>(n: usize) -> impl Pipe<&'a [u8], (&'a [u8],), E>where
    Incomplete: Into<E>,
Expand description

Take n bytes from a slice