def __str__(self):
        return 'buffer(%02x/%d,[%d]=%s)' % (
            self._nextbits and self._next or 0, self._nextbits,
            self._used, (ord(self._data[self._used]),) % '%02x' if (self._used < len(self._data)) else '--')
dataset/ETHPy150Open karlgluck/heroes-of-the-storm-replay-parser/s2protocol/decoders.py/BitPackedBuffer.__str__/swapped operands of `%`