Skip to main content

parse_messages

Function parse_messages 

Source
pub fn parse_messages(data: &[u8]) -> Result<Vec<Message>>
Expand description

Parse a buffer of consecutive IPFIX Messages, sharing Templates across them (as if they belonged to the same Transport Session).

A buffer of consecutive Messages is read as an IPFIX File (RFC 5655), with Transport::File semantics: Template Withdrawals are applied and Templates never expire. Compressed files must be decompressed by the caller.