packages.fetchai.protocols.state_update.serialization
Serialization module for state_update protocol.
StateUpdateSerializer Objects
Serialization for the 'state_update' protocol.
encode
Encode a 'StateUpdate' message into bytes.
Arguments:
msg: the message object.
Returns:
the bytes.
decode
Decode bytes into a 'StateUpdate' message.
Arguments:
obj: the bytes object.
Returns:
the 'StateUpdate' message.