MessageCodec.decode

MessageCodec.decode(encoded_data)[source]

Decode data from the codec’s representation format.

Parameters:
encoded_databytes

Encoded data to decode.

Returns:
Message or dict or object

Decoded message after reconstruction from the encoded data.