Class SevenZipBZip2CompressionSettings

Class SevenZipBZip2CompressionSettings

Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)

7z 压缩器或解压缩器工作所需的设置。

public class SevenZipBZip2CompressionSettings : SevenZipCompressionSettings

继承

objectSevenZipCompressionSettingsSevenZipBZip2CompressionSettings

继承成员

SevenZipCompressionSettings.Method, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

备注

Bzip2 使用 Burrows-Wheeler 块排序文本压缩算法和霍夫曼编码来压缩文件。

了解更多信息: https://en.wikipedia.org/wiki/Bzip2

构造函数

SevenZipBZip2CompressionSettings(int)

初始化 Aspose.Zip.Saving.SevenZipBZip2CompressionSettings 类的新实例。

public SevenZipBZip2CompressionSettings(int blockSize)

参数

blockSize int

以百千字节为单位的块大小。

异常

ArgumentOutOfRangeException

blockSize 太大或太小。

SevenZipBZip2CompressionSettings()

使用默认块大小(等于 9 百千字节)初始化 Aspose.Zip.Saving.SevenZipBZip2CompressionSettings 类的新实例。

public SevenZipBZip2CompressionSettings()

属性

BlockSize

以百千字节为单位的块大小。

public int BlockSize { get; }

属性值

int

Method

获取压缩或解压缩方法。

public override SevenZipCompressionMethod Method { get; }

属性值

SevenZipCompressionMethod

 中文