The data will be transmitted as the length followed by the serialized data. This allows the command data to be different for every command type in the future.