Enumeration
enum CompressLevel
public enum CompressLevel {
| BestCompression
| BestSpeed
| DefaultCompression
}
Description: Indicates the compression level.
The compression ratio and speed are determined by the compression level. Currently, three compression levels are supported. The compression ratios are BestSpeed, DefaultCompression, and BestCompression, which are in ascending order of compression ratio and descending order of compression speed.
BestCompression
BestCompression
Description: Constructs an enumeration instance of the compression level with the compression ratio preferred, which indicates the highest compression ratio and a relatively low compression speed.
BestSpeed
BestSpeed
Description: Constructs an enumeration instance of the compression level with the compression speed preferred, which indicates the highest compression speed and a relatively low compression ratio.
DefaultCompression
DefaultCompression
Description: Constructs an enumeration instance of the compression level, which indicates the default compression level.
enum WrapType
public enum WrapType {
| DeflateFormat
| GzipFormat
}
Description: Indicates the compressed data format.
Currently, DeflateFormat and GzipFormat are supported.
DeflateFormat
DeflateFormat
Description: Constructs an enumeration instance of the Deflate
compression data format.
GzipFormat
GzipFormat
Description: Constructs an enumeration instance of the Gzip
compression data format.