pub fn decode(bytes: &[u8]) -> Res<ProtocolMessage>Expand description
Decodes a frame from its wire bytes with the fixed codec configuration.
ยงErrors
Returns an error if the bytes are not a valid encoded frame.
pub fn decode(bytes: &[u8]) -> Res<ProtocolMessage>Decodes a frame from its wire bytes with the fixed codec configuration.
Returns an error if the bytes are not a valid encoded frame.