/// Parses the custom content (name and bytes) of a custom section.
Parses the custom content (name and bytes) of a custom section.
Parses the custom content ( name and bytes ) of a custom section .
fn parse_custom_content(input: &[u8]) -> IResult<&[u8], Custom> {
    map(tuple((parse_name, rest)), |(name, contents)| {
        Custom::new(name, Vec::from(contents))
    })(input)
}
fn parse_custom_content ( input : & [ u8 ] ) -> IResult < & [ u8 ] , Custom > { map ( tuple ( ( parse_name , rest ) ) , | ( name , contents ) | { Custom :: new ( name , Vec :: from ( contents ) ) } ) ( input ) }
Parses the custom content (name and bytes) of a custom section.
Parses the custom content ( name and bytes ) of a custom section .
input
&[u8]