pub fn decode_envelope(bytes: &[u8]) -> Option<RelayEnvelope>Expand description
Decode a CHAT-port payload back into a chat envelope. None if it is not a valid CBOR envelope.
pub fn decode_envelope(bytes: &[u8]) -> Option<RelayEnvelope>Decode a CHAT-port payload back into a chat envelope. None if it is not a valid CBOR envelope.