(self)
return msgpack.dumps(self._to_dict())
Encode the packet for transmission.
Encode the packet for transmission.
Encode the packet for transmission .
def encode(self):
        """Encode the packet for transmission."""
        return msgpack.dumps(self._to_dict())
def encode ( self ) : return msgpack . dumps ( self . _to_dict ( ) )