pub fn decode(bytes: &[u8]) -> Result<SwimMessage, SwimError>Expand description
Decode a zerompk byte buffer into a SwimMessage. Truncated or
malformed input returns SwimError::Decode rather than panicking.
pub fn decode(bytes: &[u8]) -> Result<SwimMessage, SwimError>Decode a zerompk byte buffer into a SwimMessage. Truncated or
malformed input returns SwimError::Decode rather than panicking.