GZipStream or DeflateStream class?

Posted by Seventh Element on Stack Overflow See other posts from Stack Overflow or by Seventh Element
Published on 2010-04-08T10:29:16Z Indexed on 2010/04/08 10:33 UTC
Read the original article Hit count: 514

Filed under:
|

The MSDN documentation tells me the following:

The GZipStream class uses the gzip data format, which includes a cyclic redundancy check value for detecting data corruption. The gzip data format uses the same compression algorithm as the DeflateStream class.

It seems GZipStream adds some extra data to the output (relative to DeflateStream). I'm wondering, in what type of a scenario would it be essential to use GZipStream and not DeflateStream?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET