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