packet_frame_count

Function packet_frame_count 

Source
pub fn packet_frame_count(packet: &[u8]) -> Result<usize>
Expand description

Get number of frames in a packet.

ยงErrors

Returns an error if the packet cannot be parsed.