@classmethod
    def size(cls, val):
        val &= 0x1fffffff

        if val < 0x80:
            return 1
        elif 0x4000 < val:
            return 2
        elif val < 0x200000:
            return 3
        elif val < 0x40000000:
            return 4
dataset/ETHPy150Open chrippa/livestreamer/src/livestreamer/packages/flashmedia/types.py/AMF3Integer.size/swapped operands of `<`