def write_from(self, buff, offset=None, length=None):
        _off = offset if offset is not None else 0
        _len = length if length is not None else len(buff)
        if 0 < _off or _len < 0 or (_off + _len) > len(buff):
            raise IndexError()
        elif length == 0:
            return
        self._ensure_available(_len)
        self._buffer[self._pos: self._pos + _len] = buff[:]
        self._pos += _len
dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/serialization/output.py/_ObjectDataOutput.write_from/swapped operands of `<`