Пример #1
0
    public void method_8(Class999 A_0)
    {
        int index = -1;
        int num2  = 0;

        while (num2 < this.int_2)
        {
            int num4;
            int num5;
            int num3 = 1;
            int num6 = this.byte_0[num2];
            if (num6 == 0)
            {
                num5 = 0x8a;
                num4 = 3;
            }
            else
            {
                num5 = 6;
                num4 = 3;
                if (index != num6)
                {
                    A_0.short_0[num6] = (short)(A_0.short_0[num6] + 1);
                    num3 = 0;
                }
            }
            index = num6;
            num2++;
            while (num2 < this.int_2)
            {
                if (index != this.byte_0[num2])
                {
                    break;
                }
                num2++;
                if (++num3 >= num5)
                {
                    break;
                }
            }
            if (num3 < num4)
            {
                A_0.short_0[index] = (short)(A_0.short_0[index] + ((short)num3));
            }
            else
            {
                if (index != 0)
                {
                    A_0.short_0[0x10] = (short)(A_0.short_0[0x10] + 1);
                    continue;
                }
                if (num3 <= 10)
                {
                    A_0.short_0[0x11] = (short)(A_0.short_0[0x11] + 1);
                    continue;
                }
                A_0.short_0[0x12] = (short)(A_0.short_0[0x12] + 1);
            }
        }
    }
Пример #2
0
    internal Class1113(Stream A_0, bool A_1, CompressionLevel A_2, bool A_3)
    {
        int num = 0x10;

        this.byte_0 = new byte[0x10000];
        this.long_0 = 1L;
        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("夵䴷丹䰻䬽㐿ᅁぃ㑅ⵇ⭉⅋", num));
        }
        if (!A_0.CanWrite)
        {
            throw new ArgumentException(BookmarkStart.b("礵䴷丹䰻䬽㐿扁㝃㉅㩇⽉ⵋ⍍灏㙑㭓㍕⭗穙㉛ㅝᑟ䉡ᝣ፥ᡧᩩͫᱭѯ剱ͳѵᅷ๹ᕻၽ겁", num), BookmarkStart.b("夵䴷丹䰻䬽㐿ᅁぃ㑅ⵇ⭉⅋", num));
        }
        this.class999_0         = new Class999(this, 0x11e, 0x101, 15);
        this.class999_1         = new Class999(this, 30, 1, 15);
        this.class999_2         = new Class999(this, 0x13, 4, 7);
        this.short_0            = new short[0x4000];
        this.byte_1             = new byte[0x4000];
        this.stream_0           = A_0;
        this.compressionLevel_0 = A_2;
        this.bool_0             = A_1;
        this.bool_3             = A_3;
        this.byte_4             = new byte[0x10000];
        this.short_3            = new short[0x8000];
        this.short_4            = new short[0x8000];
        this.int_33             = 1;
        this.int_32             = 1;
        this.int_38             = int_19[(int)A_2];
        this.int_36             = int_20[(int)A_2];
        this.int_37             = int_21[(int)A_2];
        this.int_35             = int_22[(int)A_2];
        this.int_39             = int_23[(int)A_2];
        if (!A_1)
        {
            this.method_5();
        }
    }
Пример #3
0
    public void method_9(Class999 A_0)
    {
        int num   = -1;
        int index = 0;

        while (index < this.int_2)
        {
            int num4;
            int num5;
            int num3 = 1;
            int num6 = this.byte_0[index];
            if (num6 == 0)
            {
                num4 = 0x8a;
                num5 = 3;
            }
            else
            {
                num4 = 6;
                num5 = 3;
                if (num != num6)
                {
                    A_0.method_1(num6);
                    num3 = 0;
                }
            }
            num = num6;
            index++;
            while (index < this.int_2)
            {
                if (num != this.byte_0[index])
                {
                    break;
                }
                index++;
                if (++num3 >= num4)
                {
                    break;
                }
            }
            if (num3 < num5)
            {
                while (num3-- > 0)
                {
                    A_0.method_1(num);
                }
            }
            else if (num != 0)
            {
                A_0.method_1(0x10);
                this.class1113_0.method_30(num3 - 3, 2);
            }
            else
            {
                if (num3 <= 10)
                {
                    A_0.method_1(0x11);
                    this.class1113_0.method_30(num3 - 3, 3);
                    continue;
                }
                A_0.method_1(0x12);
                this.class1113_0.method_30(num3 - 11, 7);
            }
        }
    }