Exemple #1
0
 public void method_1(int int3)
 {
     _class1912.method_3();
     _class1910.method_3();
     _class1911.method_3();
     Class1890.method_5(_class1910.Int1 - 257, 5);
     Class1890.method_5(_class1911.Int1 - 1, 5);
     Class1890.method_5(int3 - 4, 4);
     for (var i = 0; i < int3; i++)
     {
         Class1890.method_5(_class1912.Byte0[Int0[i]], 3);
     }
     _class1910.method_7(_class1912);
     _class1911.method_7(_class1912);
 }
Exemple #2
0
        public int method_9(byte[] byte0, int int2, int int3)
        {
            var num = int3;

            if (_int1 == 127)
            {
                throw new InvalidOperationException("Deflater closed");
            }
            if (_int1 < 16)
            {
                var num2 = 30720;
                var num3 = _int0 - 1 >> 1;
                if (num3 < 0 || num3 > 3)
                {
                    num3 = 3;
                }
                num2 |= num3 << 6;
                if ((_int1 & 1) != 0)
                {
                    num2 |= 32;
                }
                num2 += 31 - num2 % 31;
                _class1890.method_6(num2);
                if ((_int1 & 1) != 0)
                {
                    var num4 = _class1840.method_4();
                    _class1840.ResetAdler();
                    _class1890.method_6(num4 >> 16);
                    _class1890.method_6(num4 & 65535);
                }
                _int1 = (16 | (_int1 & 12));
            }
            while (true)
            {
                var num5 = _class1890.method_8(byte0, int2, int3);
                int2   += num5;
                _long0 += num5;
                int3   -= num5;
                if (int3 == 0 || _int1 == 30)
                {
                    goto IL_1E2;
                }
                if (!_class1840.method_0((_int1 & 4) != 0, (_int1 & 8) != 0))
                {
                    if (_int1 == 16)
                    {
                        break;
                    }
                    if (_int1 == 20)
                    {
                        if (_int0 != 0)
                        {
                            for (var i = 8 + (-_class1890.method_3() & 7); i > 0; i -= 10)
                            {
                                _class1890.method_5(2, 10);
                            }
                        }
                        _int1 = 16;
                    }
                    else if (_int1 == 28)
                    {
                        _class1890.method_4();
                        if (!_bool0)
                        {
                            var num6 = _class1840.method_4();
                            _class1890.method_6(num6 >> 16);
                            _class1890.method_6(num6 & 65535);
                        }
                        _int1 = 30;
                    }
                }
            }
            return(num - int3);

IL_1E2:
            return(num - int3);
        }