Function rusticata_macros::combinator::flat_takec [−][src]
pub fn flat_takec<I: Clone, O, E: ParseError<I>, C, F>(
input: I,
len: C,
parser: F
) -> IResult<I, O, E> where
C: ToUsize + Copy,
F: Fn(I) -> IResult<I, O, E>,
I: InputTake + InputLength + InputIter,
O: InputLength,
Expand description
Take len
bytes from input
, and apply parser
.