Class SevenZipLZMACompressionSettings
Class SevenZipLZMACompressionSettings
Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)
7z 压缩器或解压器工作所需的设置。
public class SevenZipLZMACompressionSettings : SevenZipCompressionSettings
继承
object ← SevenZipCompressionSettings ← SevenZipLZMACompressionSettings
继承成员
SevenZipCompressionSettings.Method, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
备注
Lempel–Ziv–Markov 链算法 (LZMA) 是一种用于执行无损数据压缩的算法。 该算法使用一种字典压缩方案,类似于 LZ77 算法,具有高压缩比和可变的压缩字典大小。
详细信息请参见:https://en.wikipedia.org/wiki/Lempel–Ziv–Markov_chain_algorithm
构造函数
SevenZipLZMACompressionSettings()
public SevenZipLZMACompressionSettings()
属性
DictionarySize
字典(历史缓冲区)大小指示最近处理的未压缩数据中保留多少字节在内存中。 如果未设置,将根据条目大小选择。
public int DictionarySize { get; set; }
属性值
备注
字典越大,压缩比通常越好,但大于未压缩数据的字典会浪费内存。
Method
获取压缩或解压缩方法。
public override SevenZipCompressionMethod Method { get; }