Exemplo n.º 1
0
 private async Task <Stream> DecompressToStream(Stream dataStr)
 {
     using (var gzipStream = new System.IO.Compression.GZipStream(dataStr, CompressionMode.Decompress))
     {
         return(await gzipStream.CopyStreamAsync());
     }
 }