pub fn max_segment_payload(
max_apdu_length: u16,
pdu_type: SegmentedPduType,
) -> usizeExpand description
Compute the maximum service data payload per segment.
This is the max APDU length minus the PDU header overhead for segmented messages.