pub fn parse_block_type(input: &[u8]) -> IResult<&[u8], BlockType> {
    alt((
        map(match_byte(0x40), |_| BlockType::None),
        map(parse_value_type, BlockType::ValueType),
        map(parse_s33, |index| BlockType::Index(index as u32)),
    ))(input)
}
/// Parses a WebAssembly control instruction's block type from the input.
///
/// See <https://webassembly.github.io/spec/core/binary/instructions.html#control-instructions>
Parses a WebAssembly control instruction's block type from the input.
See
Parses a WebAssembly control instruction ' s block type from the input . See
pub fn parse_block_type(input: &[u8]) -> IResult<&[u8], BlockType> {
    alt((
        map(match_byte(0x40), |_| BlockType::None),
        map(parse_value_type, BlockType::ValueType),
        map(parse_s33, |index| BlockType::Index(index as u32)),
    ))(input)
}
pub fn parse_block_type ( input : & [ u8 ] ) -> IResult < & [ u8 ] , BlockType > { alt ( ( map ( match_byte ( 0x40 ) , | _ | BlockType :: None ) , map ( parse_value_type , BlockType :: ValueType ) , map ( parse_s33 , | index | BlockType :: Index ( index as u32 ) ) , ) ) ( input ) }
Parses a WebAssembly control instruction's block type from the input.
Parses a WebAssembly control instruction ' s block type from the input .
input
&[u8]
input
&[u8]