pub fn take<I, O, C, E: ParseError<(I, usize)>>(
count: C
) -> impl Fn((I, usize)) -> IResult<(I, usize), O, E>where
I: Slice<RangeFrom<usize>> + InputIter<Item = u8> + InputLength,
C: ToUsize,
O: From<u8> + AddAssign + Shl<usize, Output = O> + Shr<usize, Output = O>,
👎Deprecated since 8.0.0: Replaced with
nom8::bits::take
with input wrapped in nom8::input::Streaming
Expand description
Generates a parser taking count
bits
WARNING: Deprecated, replaced with nom8::bits::take
with input wrapped in nom8::input::Streaming