pub fn take<I, O, C, E>(count: C) -> impl Fn((I, usize)) where
E: ParseError<(I, usize)>,
I: Slice<RangeFrom<usize>> + InputIter<Item = u8> + InputLength,
C: ToUsize,
O: From<u8> + AddAssign<O> + Shl<usize, Output = O> + Shr<usize, Output = O>,
Available on crate feature
mtls
only.Expand description
Generates a parser taking count
bits