Skip to main content

parse_parameters

Function parse_parameters 

Source
pub fn parse_parameters(body: &[u8]) -> Result<Vec<Parameter>, WireError>
Expand description

Parse a message body into its parameters.

Tolerates a final parameter whose padding octets were not written, which is what a sender that excludes padding from the Message Length produces at the end of a message.