public byte[] Decompress(Stream inputStream)
 {
     using (var deflateStream = new DeflateStream(inputStream, CompressionMode.Decompress))
     using (var outputStream = new MemoryStream())
     {
         deflateStream.WriteTo(outputStream);
         return outputStream.ToArray();
     }
 }