Function parse_v6_pdus

Source
pub fn parse_v6_pdus(input: &[u8]) -> Result<Vec<Pdu>, DisError>
Expand description

Parses the contents of the input as DIS version 6. This function tries to parse as many PDUs as there are in the buffer, assuming there are only complete PDUs present in the input.

This function will filter out any non-v6 PDUs in a buffer (packet).

ยงErrors

Returns a DisError when parsing fails