StreamFormat Property

The stream format to use.


public ZipstreamStreamFormats StreamFormat { get; set; }

enum ZipstreamStreamFormats { sfDeflate, sfZlib, sfGzip }
Public Property StreamFormat As ZipstreamStreamFormats

Enum ZipstreamStreamFormats sfDeflate sfZlib sfGzip End Enum

Default Value



The stream format to use, by default Deflate.

All three stream formats use the Deflate algorithm specified in RFC 1951, which is the same algorithm used by Zip. The Zlib stream format adds a two-byte header and an Adler-32 checksum; the Gzip format adds a longer header and a CRC checksum, and is identical to the Gzip file format.

Caution: The terms zlib and deflate are sometimes used interchangeably (which is technically incorrect).

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks ZIP 2020 .NET Edition - Version 20.0 [Build 7720]