pub fn decode_request(bytes: &[u8]) -> Result<BroadcastRequest, CodecError>Expand description
Decode a BroadcastRequest previously produced by
encode_request.
ยงErrors
Returns CodecError when the payload is truncated, the
magic header is wrong, or any embedded string is not valid
UTF-8.