pub fn decode(buf: &[u8]) -> Result<Decoded, DecodeFrameError>Expand description
Decode one length-prefixed frame from the head of buf.
pub fn decode(buf: &[u8]) -> Result<Decoded, DecodeFrameError>Decode one length-prefixed frame from the head of buf.