pub fn packet_parse(packet: &[u8]) -> Result<(u8, usize, Vec<&[u8]>)>Expand description
Parse packet into frame pointers and sizes. Returns (toc, payload_offset, frame_sizes).
Note: Returned frame slices borrow from packet and are valid as long as packet lives.
ยงErrors
Returns an error if the packet cannot be parsed.