Skip to main content

decode_user_data

Function decode_user_data 

Source
pub fn decode_user_data(
    udl: u8,
    ud: &[u8],
    udhi: bool,
    dcs: &Dcs,
) -> Result<UserData, PduError>
Expand description

Decode TP-UD given TP-UDL, TP-UDHI and the DCS. ud may be longer than needed.