コード例 #1
0
    private static void smethod_2(ICryptoTransform A_0, Stream A_1, Stream A_2)
    {
        A_1.Position = 0L;
        A_2.Position = 0L;
        long num = new BinaryReader(A_1).ReadInt64();

        A_2.SetLength((long)Class567.smethod_5(num, 0x200));
        Class258.smethod_3(A_1, A_2, A_0);
        A_2.SetLength(num);
        A_1.Position = 0L;
        A_2.Position = 0L;
    }
コード例 #2
0
    private static void smethod_4(ICryptoTransform A_0, Stream A_1, Stream A_2)
    {
        A_1.Position = 0L;
        A_2.Position = 0L;
        long length = A_1.Length;

        A_1.SetLength((long)Class567.smethod_5(A_1.Length, 0x10));
        new BinaryWriter(A_2).Write(length);
        A_2.SetLength((long)(Class567.smethod_5(length, 0x10) + 8));
        Class258.smethod_3(A_1, A_2, A_0);
        A_1.Position = 0L;
        A_2.Position = 0L;
    }
コード例 #3
0
    private void method_1(Stream A_0, Stream A_1, byte[] A_2)
    {
        A_0.Position = 0L;
        A_1.Position = 0L;
        long num = new BinaryReader(A_0).ReadInt64();

        A_1.SetLength((long)Class567.smethod_5(num, 0x200));
        byte[] buffer = new byte[0x1000];
        for (int i = 0; A_0.Position < A_0.Length; i++)
        {
            int count = Math.Min((int)(A_0.Length - A_0.Position), 0x1000);
            A_0.Read(buffer, 0, count);
            byte[] buffer2 = this.method_9(this.method_11().method_9(), BitConverter.GetBytes(i), this.method_11().method_2(), 0x36);
            byte[] buffer3 = this.method_6(A_2, buffer2, buffer);
            A_1.Write(buffer3, 0, count);
        }
        A_1.SetLength(num);
        A_1.Position = 0L;
    }