DeflateStream Constructor
Initializes a new instance of the DeflateStream class.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | DeflateStream(Stream^, CompressionLevel) | Initializes a new instance of the DeflateStream class by using the specified stream and compression level. |
![]() | 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. |
![]() | DeflateStream(Stream^, CompressionMode) | Initializes a new instance of the DeflateStream class by using the specified stream and compression mode. |
![]() | 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. |
Using the DeflateStream class to compress a file larger than 4 GB will cause an exception.
