Esempio n. 1
0
    private byte[] method_5(Interface61 A_0)
    {
        int          num     = 6;
        MemoryStream stream  = new MemoryStream();
        Stream12     stream2 = Stream12.smethod_2();
        int          num2    = this.method_6(A_0);
        int          index   = 0;
        int          length  = A_0.imethod_9().Length;

        while (true)
        {
            if (index >= length)
            {
                stream2.Flush();
                if (stream2.Length > 0L)
                {
                    long num1 = stream2.Length;
                    stream2.method_17(stream);
                    stream2.Close();
                    stream2.Dispose();
                    return(stream.ToArray());
                }
                stream2.Close();
                stream2.Dispose();
                stream.Dispose();
                return(null);
            }
            string str = A_0.imethod_9().GetValue(index).ToString();
            if ((((str != BookmarkStart.b("⴫愭尯圱", num)) && (str != BookmarkStart.b("⼫愭刯報紳堵帷唹", num))) && ((str != BookmarkStart.b("⴫洭弯弱䐳礵娷倹", num)) && (str != BookmarkStart.b("⼫戭夯就弳缵嘷尹医", num)))) && (((str != BookmarkStart.b("⴫愭尯圱Գص瘷嬹䠻圽㘿❁", num)) && (str != BookmarkStart.b("⼫欭怯怱紳砵氷", num))) && (str != BookmarkStart.b("⸫愭尯圱搳䐵崷䤹఻฽瀿", num))))
            {
                Stream1 stream3 = A_0.imethod_0(str);
                if ((num2 == 1) || (str.ToLower() == BookmarkStart.b("簫伭匯失唳儵崷", num).ToLower()))
                {
                    byte[] buffer = new byte[stream3.Length];
                    stream3.Read(buffer, 0, buffer.Length);
                    stream3.Flush();
                    stream3.Close();
                    A_0.Dispose();
                    stream2.Close();
                    stream2.Dispose();
                    return(buffer);
                }
                stream2.method_15(stream3.method_0());
                byte[] buffer2 = new byte[stream3.Length];
                stream3.Read(buffer2, 0, buffer2.Length);
                stream2.Write(buffer2, 0, buffer2.Length);
                try
                {
                    stream2.Flush();
                }
                catch
                {
                }
                stream2.Close();
                stream3.Close();
            }
            index++;
        }
    }
Esempio n. 2
0
    public void imethod_13(Stream1 A_0)
    {
        string str = A_0.method_0();

        using (Stream1 stream = this.Interface61.imethod_3(str) ? this.Interface61.imethod_0(str) : this.imethod_2(A_0.method_0()))
        {
            stream.SetLength(0L);
            A_0.vmethod_0(stream);
        }
    }
Esempio n. 3
0
    public void imethod_13(Stream1 A_0)
    {
        int num2;
        int num = 8;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("崭䐯䀱儳圵唷渹医紽⼿㉁㵃", num));
        }
        Stream1 stream = this.imethod_2(A_0.method_0());

        byte[] buffer   = new byte[0x8000];
        long   position = A_0.Position;

        A_0.Position = 0L;
        while ((num2 = A_0.Read(buffer, 0, 0x8000)) > 0)
        {
            stream.Write(buffer, 0, num2);
        }
        A_0.Position = position;
    }
Esempio n. 4
0
 public Stream2(Stream1 A_0) : base(A_0.method_0())
 {
     this.stream1_0 = A_0;
 }