/// Parses a WebAssembly code portion of a function component from the input.
///
/// See <https://webassembly.github.io/spec/core/binary/modules.html#code-section>
Parses a WebAssembly code portion of a function component from the input.
See
Parses a WebAssembly code portion of a function component from the input . See
pub fn parse_code(input: &[u8]) -> IResult<&[u8], (ResultType, Expression)> {
    let (input, size) = parse_u32(input)?;
    let (remaining, input) = take(size as usize)(input)?;
    let (_, code) = all_consuming(tuple((parse_locals, parse_expression)))(input)?;
    Ok((remaining, code))
}
pub fn parse_code ( input : & [ u8 ] ) -> IResult < & [ u8 ] , ( ResultType , Expression ) > { let ( input , size ) = parse_u32 ( input ) ? ; let ( remaining , input ) = take ( size as usize ) ( input ) ? ; let ( _ , code ) = all_consuming ( tuple ( ( parse_locals , parse_expression ) ) ) ( input ) ? ; Ok ( ( remaining , code ) ) }
Parses a WebAssembly code portion of a function component from the input.
Parses a WebAssembly code portion of a function component from the input .
input
&[u8]