dotnet / dotnet/dotnet-api-docs

Clarify GZipStream vs. DeflateStream

Open
#1,325 0 comments 0 reactions 0 assignees View on GitHub
area-System.IO dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

Hello,

From looking at the docs, it doesn't seem clear to me what the difference is between DeflateStream and GZipStream and when a developer might want to use one versus the other :)

It also seems like the docs are geared more towards people who want to compress files, not uncompress them.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: ea81c3e7-3461-d0ca-1606-720af3411bf5
* Version Independent ID: cbe5e085-20f2-5bbc-aa46-eabfbd509e8c
* Content: [GZipStream Class (System.IO.Compression)](https://docs.microsoft.com/en-us/dotnet/api/system.io.compression.gzipstream?view=netframework-4.7.2)
* Content Source: [xml/System.IO.Compression/GZipStream.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.IO.Compression/GZipStream.xml)
* Product: **dotnet-api**
* GitHub Login: @mairaw
* Microsoft Alias: **mairaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.