Skip to main content

decode

Function decode 

Source
pub fn decode(buf: &[u8]) -> Result<Decoded, DecodeFrameError>
Expand description

Decode one length-prefixed frame from the head of buf.