Function sc_get_max_send_size

Source
pub unsafe extern "C" fn sc_get_max_send_size(
    card: *const sc_card_t,
) -> size_t
Expand description

@brief Calculate the maximum size of C-APDU payload (Nc).

Takes card limitations into account such as extended length support as well as the reader’s limitation for data transfer.

@param card card

@return maximum Nc