Function get_extension

Source
pub fn get_extension<V: Extension + Pod>(
    tlv_data: &[u8],
) -> Result<&V, ProgramError>
Expand description

Unpack a portion of the TLV data as the desired type