Skip to main content

decode_issy_long

Function decode_issy_long 

Source
pub fn decode_issy_long(bytes: [u8; 3]) -> Result<Issy>
Expand description

Decode a 3-byte (long) ISSY field.

Byte 0 bit [7] must be 1 (long form). Byte 0 bit [6] then selects: 0 → 22-bit ISCR long; 1 → BUFS/TTO signalling. Returns Err if bit [7] is 0 (that is a short-form field — use decode_issy_short).