Skip to main content

parse_params

Function parse_params 

Source
pub fn parse_params(body: &[u8]) -> Vec<(u16, Vec<u8>)>
Expand description

Parse a flat list of code-pointed parameters from an object body.

Stops at the first malformed length rather than looping forever. Nested groups are returned as raw bytes (the caller descends into the ones it cares about).