Function sc_apdu_get_length

Source
pub unsafe extern "C" fn sc_apdu_get_length(
    apdu: *const sc_apdu_t,
    proto: c_uint,
) -> size_t
Expand description

Calculates the length of the encoded APDU in octets. @param apdu the APDU @param proto the desired protocol @return length of the encoded APDU