Class LzipArchiveSettings
Namespace: Aspose.Zip.Lzip
Assembly: Aspose.Zip.dll (25.2.0)
The class contains setting of particular lzip archive.
public class LzipArchiveSettings
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
LzipArchiveSettings(int, int)
Initializes a new instance of the Aspose.Zip.Lzip.LzipArchiveSettings with particular dictionary size.
public LzipArchiveSettings(int dictionarySize, int maxMemberSize = 62914560)
Parameters
dictionarySize
int
Dictionary size for LZMA compression in bytes.
maxMemberSize
int
Maximum size of one member in lzip archive presented in bytes. Default value is 60 MB.
Properties
CompressionThreads
Gets or sets compression thread count. If the value greater than 1, multithreading compression will be used.
public int CompressionThreads { get; set; }
Property Value
Remarks
Do not set this number more than CPU cores.
Exceptions
The number of threads is more than 100.
DictionarySize
Gets the size of dictionary which used by LZMA compression.
public int DictionarySize { get; }
Property Value
FastSpeed
Gets the instance of the Aspose.Zip.Lzip.LzipArchiveSettings class with dictionary size equals to 1 megabyte in LZMA filter.
public static LzipArchiveSettings FastSpeed { get; }
Property Value
FastestSpeed
Gets the instance of the Aspose.Zip.Lzip.LzipArchiveSettings class with dictionary size equals to 65536 bytes in LZMA filter.
public static LzipArchiveSettings FastestSpeed { get; }
Property Value
HighCompression
Gets the instance of the Aspose.Zip.Lzip.LzipArchiveSettings class with dictionary size equals to 32 megabytes in LZMA filter.
public static LzipArchiveSettings HighCompression { get; }
Property Value
MaxMemberSize
Gets the maximum size of one member in lzip archive presented in bytes.
public long MaxMemberSize { get; }
Property Value
MaximumCompression
Gets the instance of the Aspose.Zip.Lzip.LzipArchiveSettings class with dictionary size equals to 64 megabytes in LZMA filter.
public static LzipArchiveSettings MaximumCompression { get; }
Property Value
Normal
Gets the instance of the Aspose.Zip.Lzip.LzipArchiveSettings class with dictionary size equals to 16 megabytes in LZMA filter.
public static LzipArchiveSettings Normal { get; }