pub fn split_frame(buf: &[u8]) -> Result<Option<Frame<'_>>, FrameTooLarge>Expand description
Split the first frame off the front of buf, with the protocol’s
MAX_FRAME_SIZE as the payload limit.
See split_frame_limited.
pub fn split_frame(buf: &[u8]) -> Result<Option<Frame<'_>>, FrameTooLarge>Split the first frame off the front of buf, with the protocol’s
MAX_FRAME_SIZE as the payload limit.
See split_frame_limited.