Class LzipArchiveSettings

Class LzipArchiveSettings

Nazwa przestrzeń: Aspose.Zip.Lzip Zestawienie: Aspose.Zip.dll (25.5.0)

Klasa zawiera ustawienie określonego archiwum lzip.

public class LzipArchiveSettings

Inheritance

object LzipArchiveSettings

Dziedziczeni członkowie

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

Constructors

LzipArchiveSettings(i int, int)

Inicjalizuje nową instancję Aspose.Zip.Lzip.LzipArchiveSettings z określonym rozmiarem słownika.

public LzipArchiveSettings(int dictionarySize, int maxMemberSize = 62914560)

Parameters

dictionarySize int

Rozmiar słownika dla kompresji LZMA w bajtach.

maxMemberSize int

Maksymalny rozmiar jednego członka w archiwum lzip przedstawionym w bajtach. wartość domyślna wynosi 60 MB.

Properties

CompressionThreads

Jeśli wartość jest większa niż 1, stosuje się kompresję wielokrotną.

public int CompressionThreads { get; set; }

Wartość nieruchomości

int

Remarks

Nie ustawiaj tej liczby więcej niż kody CPU.

Exceptions

ArgumentOutOfRangeException

Liczba przewód przekracza 100.

DictionarySize

Otrzymuje rozmiar słownika, który jest używany przez kompresję LZMA.

public int DictionarySize { get; }

Wartość nieruchomości

int

FastSpeed

Otrzymuje przykład klasy Aspose.Zip.Lzip.LzipArchiveSettingsRozmiar słownika wynosi 1 megabyte w filtrach LZMA.

public static LzipArchiveSettings FastSpeed { get; }

Wartość nieruchomości

LzipArchiveSettings

FastestSpeed

Otrzymuje przykład klasy Aspose.Zip.Lzip.LzipArchiveSettingsRozmiar słownika wynosi 65536 bajtów w filtrach LZMA.

public static LzipArchiveSettings FastestSpeed { get; }

Wartość nieruchomości

LzipArchiveSettings

HighCompression

Otrzymuje przykład klasy Aspose.Zip.Lzip.LzipArchiveSettingsRozmiar słownika wynosi 32 megabytów w filcie LZMA.

public static LzipArchiveSettings HighCompression { get; }

Wartość nieruchomości

LzipArchiveSettings

MaxMemberSize

Otrzymuje maksymalny rozmiar jednego członka w archiwum lzip przedstawionym w bajtach.

public long MaxMemberSize { get; }

Wartość nieruchomości

long

MaximumCompression

Otrzymuje przykład klasy Aspose.Zip.Lzip.LzipArchiveSettingsRozmiar słownika wynosi 64 megabytów w filtrach LZMA.

public static LzipArchiveSettings MaximumCompression { get; }

Wartość nieruchomości

LzipArchiveSettings

Normal

Otrzymuje przykład klasy Aspose.Zip.Lzip.LzipArchiveSettingsRozmiar słownika wynosi 16 megabytów w filcie LZMA.

public static LzipArchiveSettings Normal { get; }

Wartość nieruchomości

LzipArchiveSettings

 Polski