Skip to main content

packet_at

Function packet_at 

Source
fn packet_at(bytes: &[u8], at: usize) -> Option<(u8, Range<usize>)>
Expand description

The packet at at (RFC 9580, 4.2): its tag and where its body lies; none for one cut short, or of partial length.