Skip to main content

decode

Function decode 

Source
pub fn decode(bytes: &[u8]) -> Result<(WrapperHeader, Vec<u8>), WrapperError>
Expand description

Parses a complete wrapper PDU, returning the header and the APDU.