コード例 #1
0
        public static MemoryStream Uncompress(MemoryStream instream)
        {
            MemoryStream outstream = new MemoryStream();

            Lzma.Uncompress(instream, outstream);
            return(outstream);
        }
コード例 #2
0
        public static byte[] Uncompress(byte[] data)
        {
            MemoryStream instream  = new MemoryStream(data);
            MemoryStream outstream = Lzma.Uncompress(instream);

            return(outstream.ToArray());
        }