pub fn split_frames(buf: &[u8]) -> Vec<(FrameHeader, &[u8])>Expand description
Splits buf into complete frames (header, payload); the rest is ignored. For tests and
tools.
pub fn split_frames(buf: &[u8]) -> Vec<(FrameHeader, &[u8])>Splits buf into complete frames (header, payload); the rest is ignored. For tests and
tools.