Пример #1
0
    internal Class23 method_13()
    {
        Class23 @class = new Class23();

        @class.method_1(this.class25_2);
        @class.method_3(this.class25_0);
        @class.method_4()[0] = this;
        @class.method_4()[1] = this.class13_0[1];
        return(@class);
    }
Пример #2
0
        private static string smethod_5(string string_0, Encoding encoding_0)
        {
            int     length = string_0.Length;
            Class23 class2 = new Class23(length, encoding_0);

            for (int i = 0; i < length; i++)
            {
                char ch = string_0[i];
                if (ch == '+')
                {
                    ch = ' ';
                }
                else if ((ch == '%') && (i < (length - 2)))
                {
                    if ((string_0[i + 1] == 'u') && (i < (length - 5)))
                    {
                        int num3 = smethod_6(string_0[i + 2]);
                        int num4 = smethod_6(string_0[i + 3]);
                        int num5 = smethod_6(string_0[i + 4]);
                        int num6 = smethod_6(string_0[i + 5]);
                        if (((num3 < 0) || (num4 < 0)) || ((num5 < 0) || (num6 < 0)))
                        {
                            goto Label_0106;
                        }
                        ch = (char)((((num3 << 12) | (num4 << 8)) | (num5 << 4)) | num6);
                        i += 5;
                        class2.method_1(ch);
                        continue;
                    }
                    int num7 = smethod_6(string_0[i + 1]);
                    int num8 = smethod_6(string_0[i + 2]);
                    if ((num7 >= 0) && (num8 >= 0))
                    {
                        byte num9 = (byte)((num7 << 4) | num8);
                        i += 2;
                        class2.method_0(num9);
                        continue;
                    }
                }
Label_0106:
                if ((ch & 0xff80) == 0)
                {
                    class2.method_0((byte)ch);
                }
                else
                {
                    class2.method_1(ch);
                }
            }
            return(class2.method_3());
        }
Пример #3
0
        private static string smethod_4(byte[] byte_0, int int_0, int int_1, Encoding encoding_0)
        {
            Class23 class2 = new Class23(int_1, encoding_0);

            for (int i = 0; i < int_1; i++)
            {
                int  index = int_0 + i;
                byte num3  = byte_0[index];
                if (num3 == 0x2b)
                {
                    num3 = 0x20;
                }
                else if ((num3 == 0x25) && (i < (int_1 - 2)))
                {
                    if ((byte_0[index + 1] == 0x75) && (i < (int_1 - 5)))
                    {
                        int num4 = smethod_6((char)byte_0[index + 2]);
                        int num5 = smethod_6((char)byte_0[index + 3]);
                        int num6 = smethod_6((char)byte_0[index + 4]);
                        int num7 = smethod_6((char)byte_0[index + 5]);
                        if (((num4 < 0) || (num5 < 0)) || ((num6 < 0) || (num7 < 0)))
                        {
                            goto Label_00DA;
                        }
                        char ch = (char)((((num4 << 12) | (num5 << 8)) | (num6 << 4)) | num7);
                        i += 5;
                        class2.method_1(ch);
                        continue;
                    }
                    int num8 = smethod_6((char)byte_0[index + 1]);
                    int num9 = smethod_6((char)byte_0[index + 2]);
                    if ((num8 >= 0) && (num9 >= 0))
                    {
                        num3 = (byte)((num8 << 4) | num9);
                        i   += 2;
                    }
                }
Label_00DA:
                class2.method_0(num3);
            }
            return(class2.method_3());
        }