Export (0) Print
Expand All

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 Supported by the XNA Framework Supported by Portable Class Library 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 Supported by the XNA Framework Supported by Portable Class Library 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:
© 2015 Microsoft