extract_frame

Function extract_frame 

Source
pub fn extract_frame(
    buf: &[u8],
    pdu_len: usize,
) -> Result<Option<DecodedFrame<'_>>, Error>
Expand description

Extract a PDU frame out of a buffer.