Class LzipArchiveSettings

Class LzipArchiveSettings

De naam: Aspose.Zip.Lzip Verzameling: Aspose.Zip.dll (25.5.0)

De klas bevat de instelling van een specifiek lzip archief.

public class LzipArchiveSettings

Inheritance

object LzipArchiveSettings

Geëerbiede leden

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

Constructors

LzipArchiveSettings(int, int)

Initialiseert een nieuwe instantie van de Aspose.Zip.Lzip.LzipArchiveSettings met een specifieke woordenboekgrootte.

public LzipArchiveSettings(int dictionarySize, int maxMemberSize = 62914560)

Parameters

dictionarySize int

Dictionary size voor LZMA compressie in byten.

maxMemberSize int

Maximale grootte van één lid in lzip archief gepresenteerd in byten. de standaardwaarde is 60 MB.

Properties

CompressionThreads

Als de waarde groter is dan 1, wordt multithreading compression gebruikt.

public int CompressionThreads { get; set; }

Eigendomswaarde

int

Remarks

Stel dit getal niet meer dan CPU-cores.

Exceptions

ArgumentOutOfRangeException

Het aantal draadjes is meer dan 100.

DictionarySize

Geeft de grootte van de woordenboek die wordt gebruikt door LZMA compressie.

public int DictionarySize { get; }

Eigendomswaarde

int

FastSpeed

Geeft het voorbeeld van de Aspose.Zip.Lzip.LzipArchiveSettings klassemet woordenboekgrootte gelijk aan 1 megabyte in LZMA-filter.

public static LzipArchiveSettings FastSpeed { get; }

Eigendomswaarde

LzipArchiveSettings

FastestSpeed

Geeft het voorbeeld van de Aspose.Zip.Lzip.LzipArchiveSettings klassemet woordenboekgrootte gelijk aan 65536 byten in LZMA filter.

public static LzipArchiveSettings FastestSpeed { get; }

Eigendomswaarde

LzipArchiveSettings

HighCompression

Geeft het voorbeeld van de Aspose.Zip.Lzip.LzipArchiveSettings klassemet woordenboekgrootte gelijk aan 32 megabyte in LZMA-filter.

public static LzipArchiveSettings HighCompression { get; }

Eigendomswaarde

LzipArchiveSettings

MaxMemberSize

Geeft de maximale grootte van één lid in lzip archief gepresenteerd in byten.

public long MaxMemberSize { get; }

Eigendomswaarde

long

MaximumCompression

Geeft het voorbeeld van de Aspose.Zip.Lzip.LzipArchiveSettings klassemet woordenboekgrootte gelijk aan 64 megabyte in LZMA-filter.

public static LzipArchiveSettings MaximumCompression { get; }

Eigendomswaarde

LzipArchiveSettings

Normal

Geeft het voorbeeld van de Aspose.Zip.Lzip.LzipArchiveSettings klassemet woordenboekgrootte gelijk aan 16 megabyte in LZMA-filter.

public static LzipArchiveSettings Normal { get; }

Eigendomswaarde

LzipArchiveSettings

 Nederlands