Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DeflateStream Constructor

Initializes a new instance of the DeflateStream class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method DeflateStream(Stream, CompressionLevel) Initializes a new instance of the DeflateStream class by using the specified stream and compression level.
Public method DeflateStream(Stream, CompressionMode) Initializes a new instance of the DeflateStream class by using the specified stream and compression mode.
Public method DeflateStream(Stream, CompressionLevel, Boolean) Initializes a new instance of the DeflateStream class by using the specified stream and compression level, and optionally leaves the stream open.
Public method DeflateStream(Stream, CompressionMode, Boolean) Initializes a new instance of the DeflateStream class by using the specified stream and compression mode, and optionally leaves the stream open.
Top

Using the DeflateStream class to compress a file larger than 4 GB will cause an exception.

Show:
© 2014 Microsoft. All rights reserved.