packages.fetchai.protocols.default.serialization¶
Serialization module for default protocol.
DefaultSerializer Objects¶
Serialization for the 'default' protocol.
encode¶
Encode a 'Default' message into bytes.
Arguments:
msg
: the message object.
Returns:
the bytes.
decode¶
Decode bytes into a 'Default' message.
Arguments:
obj
: the bytes object.
Returns:
the 'Default' message.