rustmax::nom::bits::streaming

Function take

Source
pub fn take<I, O, C, E>(count: C) -> impl Fn((I, usize))
where E: ParseError<(I, usize)>, I: Input<Item = u8>, C: ToUsize, O: From<u8> + AddAssign + Shl<usize, Output = O> + Shr<usize, Output = O>,
Expand description

Generates a parser taking count bits