/// Parses a WebAssembly byte vector.
///
/// See <https://webassembly.github.io/spec/core/binary/values.html#bytes>
Parses a WebAssembly byte vector.
See
Parses a WebAssembly byte vector . See
pub fn parse_byte_vector(input: &[u8]) -> IResult<&[u8], &[u8]> {
    let (input, length) = parse_u32(input)?;
    let (input, bytes) = take(length as usize)(input)?;
    Ok((input, bytes))
}
pub fn parse_byte_vector ( input : & [ u8 ] ) -> IResult < & [ u8 ] , & [ u8 ] > { let ( input , length ) = parse_u32 ( input ) ? ; let ( input , bytes ) = take ( length as usize ) ( input ) ? ; Ok ( ( input , bytes ) ) }
Parses a WebAssembly byte vector.
Parses a WebAssembly byte vector .
input
&[u8]