AmaroK86.MassEffect3.ZlibBlock.ZBlock.Decompress C# (CSharp) Метод

Decompress() публичный статический Метод

public static Decompress ( Stream inStream, int count ) : byte[]
inStream Stream
count int
Результат byte[]
        public static byte[] Decompress(Stream inStream, int count)
        {
            if (count < 0)
                throw new FormatException();
            if (inStream.Position + count > inStream.Length)
                return new byte[count];
            byte[] buffer = new byte[count];
            inStream.Read(buffer, 0, count);
            return Decompress(buffer, 0, count);
        }
    }

Same methods

ZBlock::Decompress ( byte buffer, int offset, int count ) : byte[]