@classmethod
    def parser(cls, buf, offset):
        (id_, seq) = struct.unpack_from(cls._PACK_STR, buf, offset)
        msg = cls(id_, seq)
        offset += cls._MIN_LEN

        if offset > len(buf):
            msg.data = buf[offset:]

        return msg
dataset/ETHPy150Open osrg/ryu/ryu/lib/packet/icmpv6.py/echo.parser/swapped operands of `>`