def set_deltatime(self, delta_time):
        """Set the delta_time.

        Can be an integer or a variable length byte.
        """
        if type(delta_time) == int:
            delta_time = self.int_to_varbyte(delta_time)
        self.delta_time = delta_time
Set the delta_time.

        Can be an integer or a variable length byte.