pub fn decode_npdu(data: Bytes) -> Result<Npdu, Error>
Decode an NPDU from raw bytes.
Returns the decoded Npdu. The payload field contains either the APDU bytes or network message data.
Npdu
payload