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