Brotli
System.IO.Compression.BrotliStream
Namespace: System.IO.Compression
Assembly: Wisej.Web.Ext.Brotli (2.0.0.0)
Represents a Brotli stream for compression or decompression.
Constructors
Initializes a new instance of the BrotliStream class using the specified stream and compression level, and optionally leaves the stream open.
Name | Type | Description |
stream | The stream to compress or decompress. | |
level | One of CompressionLevel values that indicates the level of compression to adopt. | |
leaveOpen | true to leave the stream open after disposing the BrotliStream object; otherwise, false. |
Initializes a new instance of the BrotliStream class using the specified stream and compression mode, and optionally leaves the stream open.
Name | Type | Description |
stream | The stream to compress or decompress. | |
level | One of CompressionLevel values that indicates the level of compression to adopt. |
Initializes a new instance of the BrotliStream class using the specified stream and compression mode, and optionally leaves the stream open.
Name | Type | Description |
stream | The stream to compress or decompress. | |
mode | One of the enumeration values that indicates whether to compress or decompress the stream. | |
leaveOpen | true to leave the stream open after disposing the BrotliStream object; otherwise, false. |
Initializes a new instance of the BrotliStream class using the specified stream and compression mode.
Name | Type | Description |
stream | The stream to compress or decompress. | |
mode | One of the enumeration values that indicates whether to compress or decompress the stream. |
Inherited
Properties
Name | Description | From |
Methods
Name | Description | From |
Set the compress quality(0~11) | ||
Set the compress LGWin(10~24) | ||
Last updated