pub fn flat_take<I, C, O, E: ParseError<I>, F>(
len: C,
parser: F,
) -> impl FnMut(I) -> IResult<I, O, E>
Expand description
Return a closure that takes len
bytes from input, and applies parser
.
pub fn flat_take<I, C, O, E: ParseError<I>, F>(
len: C,
parser: F,
) -> impl FnMut(I) -> IResult<I, O, E>
Return a closure that takes len
bytes from input, and applies parser
.