decode_sequence_header

Function decode_sequence_header 

Source
pub fn decode_sequence_header(
    data: &mut PerCodecData,
    is_extensible: bool,
    optional_count: usize,
) -> Result<(BitVec<u8, Msb0>, bool), PerCodecError>
Expand description

Decode The Sequence Header

The Sequence Header consists of potentially two fields

  1. Whether extensions are present in the encoding
  2. Which of the OPTIONAL fields (if any) are present as a bitmap.