Brotli
System.IO.Compression.BrotliStream
Last updated
System.IO.Compression.BrotliStream
Last updated
Namespace: System.IO.Compression
Assembly: Wisej.Web.Ext.Brotli (2.0.0.0)
Represents a Brotli stream for compression or decompression.
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
leaveOpen
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
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
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.
Name
Description
From
Name
Description
From
Set the compress quality(0~11)
Set the compress LGWin(10~24)
One of values that indicates the level of compression to adopt.
true to leave the stream open after disposing the object; otherwise, false.
One of values that indicates the level of compression to adopt.
true to leave the stream open after disposing the object; otherwise, false.