fn parse_local_variable(decoder: &mut Decoder) -> Result<Vec<LocalVariableTarget>> {
    let length = decoder.read_u8()?;
    let mut table = Vec::with_capacity(length as usize);

    for _ in 0..length {
        let start = decoder.read_u16()?;
        let length = decoder.read_u16()?;
        let index = decoder.read_u16()?;
        table.push(LocalVariableTarget {
            start,
            length,
            index,
        })
    }

    Ok(table)
}
/// Parses the local variables of a local variable target type
Parses the local variables of a local variable target type
Parses the local variables of a local variable target type
fn parse_local_variable(decoder: &mut Decoder) -> Result<Vec<LocalVariableTarget>> {
    let length = decoder.read_u8()?;
    let mut table = Vec::with_capacity(length as usize);
    for _ in 0..length {
        let start = decoder.read_u16()?;
        let length = decoder.read_u16()?;
        let index = decoder.read_u16()?;
        table.push(LocalVariableTarget {
            start,
            length,
            index,
        })
    }
    Ok(table)
}
fn parse_local_variable ( decoder : & mut Decoder ) -> Result < Vec < LocalVariableTarget > > { let length = decoder . read_u8 ( ) ? ; let mut table = Vec :: with_capacity ( length as usize ) ; for _ in 0 .. length { let start = decoder . read_u16 ( ) ? ; let length = decoder . read_u16 ( ) ? ; let index = decoder . read_u16 ( ) ? ; table . push ( LocalVariableTarget { start , length , index , } ) } Ok ( table ) }
Parses the local variables of a local variable target type
Parses the local variables of a local variable target type
decoder
&mut Decoder