// Token: 0x06001305 RID: 4869 RVA: 0x00004837 File Offset: 0x00002A37
 internal void method_31(object object_0, Class51 class51_0)
 {
     if (this.delegate146_0 != null)
     {
         this.delegate146_0(object_0, class51_0);
     }
 }
Exemple #2
0
        public static byte[] smethod_3(Stream stream_0)
        {
            Stream  stream = stream_0;
            Class51 class2 = new Class51();

            stream.Seek(0L, SeekOrigin.Begin);
            MemoryStream stream2 = new MemoryStream();

            byte[] buffer = new byte[5];
            if (stream.Read(buffer, 0, 5) != 5)
            {
                throw new Exception("input .lzma is too short");
            }
            long num = 0L;

            for (int i = 0; i < 8; i++)
            {
                int num4 = stream.ReadByte();
                if (num4 < 0)
                {
                    throw new Exception("Can't Read 1");
                }
                num |= ((byte)num4) << (8 * i);
            }
            class2.imethod_1(buffer);
            long num2 = stream.Length - stream.Position;

            class2.imethod_0(stream, stream2, num2, num, null);
            return(stream2.ToArray());
        }