Skip to main content

decode_frame

Function decode_frame 

Source
pub fn decode_frame(frame: &[u8]) -> String
Expand description

Decode one raw link frame into a one-line annotation.

Handles the leading TPDU, the SPDU it carries (for T_Data_*), and the APDU inside a session_number SPDU. Appended T_SB data-available bits are noted.