Class LzipArchiveSettings
名称: Aspose.Zip.Lzip 收藏: Aspose.Zip.dll (25.5.0)
该类包含设置一个特定的lzip档案。
public class LzipArchiveSettings
Inheritance
继承人
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
LzipArchiveSettings(int , int , int)
启动一个新的例子 Aspose.Zip.Lzip.LzipArchiveSettings 与特定字典大小。
public LzipArchiveSettings(int dictionarySize, int maxMemberSize = 62914560)
Parameters
dictionarySize
int
字典尺寸为LZMA压缩在比特。
maxMemberSize
int
Lzip 存档中的一个会员的最大大小以 byte 呈现,默认值为 60 MB。
Properties
CompressionThreads
接收或设置压缩条数,如果值超过1,将使用多条压。
public int CompressionThreads { get; set; }
财产价值
Remarks
不要设置这个数字超过CPU核心。
Exceptions
线条的数量超过100。
DictionarySize
得到使用 LZMA 压缩的字典大小。
public int DictionarySize { get; }
财产价值
FastSpeed
获取 Aspose.Zip.Lzip.LzipArchiveSettings 类的例子字典大小相当于 LZMA 过滤器中的 1 兆巴特。
public static LzipArchiveSettings FastSpeed { get; }
财产价值
FastestSpeed
获取 Aspose.Zip.Lzip.LzipArchiveSettings 类的例子字典大小相当于 LZMA 过滤器中的 65536 位元。
public static LzipArchiveSettings FastestSpeed { get; }
财产价值
HighCompression
获取 Aspose.Zip.Lzip.LzipArchiveSettings 类的例子在LZMA过滤器中,字典大小相当于32兆比特。
public static LzipArchiveSettings HighCompression { get; }
财产价值
MaxMemberSize
获得一个会员在lzip档案中以比特呈现的最大尺寸。
public long MaxMemberSize { get; }
财产价值
MaximumCompression
获取 Aspose.Zip.Lzip.LzipArchiveSettings 类的例子字典尺寸相当于 LZMA 过滤器中的 64 兆比特。
public static LzipArchiveSettings MaximumCompression { get; }
财产价值
Normal
获取 Aspose.Zip.Lzip.LzipArchiveSettings 类的例子在 LZMA 过滤器中,字典大小相当于 16 兆比特。
public static LzipArchiveSettings Normal { get; }