[][src]Function gs1::epc::tid::decode_xtid_header

pub fn decode_xtid_header(data: &[u8]) -> Result<XTIDHeader>

Decode the XTID header from bytes

The XTID structure is 2 bytes (1 word) long and starts from the 5th byte (3rd word) of the TID memory, if the XTID bit is set in the TID structure.

Reference: GS1 EPC TDS Section 16.2.1