Skip to main content

decode

Function decode 

Source
pub(super) fn decode(base64: bool, message: Bytes) -> Option<(u8, Bytes)>
Expand description

The channel and the payload of a message of the client, none for an empty one or invalid base64. Binary payloads do not get copied.