Ejemplo n.º 1
0
    // Token: 0x060004F4 RID: 1268 RVA: 0x000293E0 File Offset: 0x000275E0
    private int method_11(char[] char_2, int int_1, int int_2)
    {
        int i = int_2;

        if (this.byte_1 == null)
        {
            this.byte_1 = new byte[128];
        }
        while (i > 0)
        {
            int num = i;
            if (this.bool_0)
            {
                num <<= 1;
            }
            if (num > 128)
            {
                num = 128;
            }
            int chars;
            if (this.bool_1)
            {
                Class13 @class    = (Class13)this.class11_0;
                int     byteIndex = @class.method_3();
                num = @class.method_4(num);
                if (num == 0)
                {
                    return(int_2 - i);
                }
                chars = this.decoder_0.GetChars(@class.method_1(), byteIndex, num, char_2, int_1);
            }
            else
            {
                num = this.class11_0.vmethod_11(this.byte_1, 0, num);
                if (num == 0)
                {
                    return(int_2 - i);
                }
                chars = this.decoder_0.GetChars(this.byte_1, 0, num, char_2, int_1);
            }
            i     -= chars;
            int_1 += chars;
        }
        return(int_2);
    }