/// Parses a WebAssembly custom section.
///
/// See <https://webassembly.github.io/spec/core/binary/modules.html#binary-customsec>
Parses a WebAssembly custom section.
See
Parses a WebAssembly custom section . See
pub fn parse_custom_section(input: &[u8]) -> IResult<&[u8], Option<Vec<Custom>>> {
    opt(fold_many1(
        parse_section(ModuleSection::Custom, parse_custom_content),
        Vec::new,
        |mut accumulator, item| {
            accumulator.push(item);
            accumulator
        },
    ))(input)
}
pub fn parse_custom_section ( input : & [ u8 ] ) -> IResult < & [ u8 ] , Option < Vec < Custom > > > { opt ( fold_many1 ( parse_section ( ModuleSection :: Custom , parse_custom_content ) , Vec :: new , | mut accumulator , item | { accumulator . push ( item ) ; accumulator } , ) ) ( input ) }
Parses a WebAssembly custom section.
Parses a WebAssembly custom section .
input
&[u8]