pub fn parse_import_section(input: &[u8]) -> IResult<&[u8], Option<Vec<Import>>> {
    opt(parse_section(
        ModuleSection::Import,
        parse_vector(parse_import),
    ))(input)
}
/// Parses a WebAssembly import section.
///
/// See <https://webassembly.github.io/spec/core/binary/modules.html#binary-importsec>
Parses a WebAssembly import section.
See
Parses a WebAssembly import section . See
pub fn parse_import_section(input: &[u8]) -> IResult<&[u8], Option<Vec<Import>>> {
    opt(parse_section(
        ModuleSection::Import,
        parse_vector(parse_import),
    ))(input)
}
pub fn parse_import_section ( input : & [ u8 ] ) -> IResult < & [ u8 ] , Option < Vec < Import > > > { opt ( parse_section ( ModuleSection :: Import , parse_vector ( parse_import ) , ) ) ( input ) }
Parses a WebAssembly import section.
Parses a WebAssembly import section .
input
&[u8]
input
&[u8]