Skip to main content

decode

Function decode 

Source
pub fn decode(bytes: &[u8]) -> Result<Packet<'_>, PacketError>
Expand description

Validate the complete new packet shape without allocation or old fallback.