예제 #1
0
 /// <summary> Decompress given bytes into outputStream. </summary>
 /// <param name="compressed">Compressed bytes.</param>
 public static IEnumerable<KeyValuePair<string, byte[]>> Unzip(byte[] compressed)
 {
     var zipStream = new InflateZipStream();
     return zipStream.Unzip(new MemoryStream(compressed));
 }
예제 #2
0
        /// <summary> Decompress given bytes into outputStream. </summary>
        /// <param name="compressed">Compressed bytes.</param>
        public static IEnumerable <KeyValuePair <string, byte[]> > Unzip(byte[] compressed)
        {
            var zipStream = new InflateZipStream();

            return(zipStream.Unzip(new MemoryStream(compressed)));
        }