Class LzipArchiveSettings

Class LzipArchiveSettings

Namespace: Aspose.Zip.Lzip
Assembly: Aspose.Zip.dll (25.1.0)

Kelas ini berisi pengaturan dari arsip lzip tertentu.

public class LzipArchiveSettings

Pewarisan

objectLzipArchiveSettings

Anggota yang Dwarisi

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

Konstruktor

LzipArchiveSettings(int, int)

Menginisialisasi instance baru dari Aspose.Zip.Lzip.LzipArchiveSettings dengan ukuran kamus tertentu.

public LzipArchiveSettings(int dictionarySize, int maxMemberSize = 62914560)

Parameter

dictionarySize int

Ukuran kamus untuk kompresi LZMA dalam byte.

maxMemberSize int

Ukuran maksimum satu anggota dalam arsip lzip yang dinyatakan dalam byte. Nilai default adalah 60 MB.

Properti

CompressionThreads

Mendapatkan atau mengatur jumlah thread kompresi. Jika nilai lebih dari 1, kompresi multithreading akan digunakan.

public int CompressionThreads { get; set; }

Nilai Properti

int

Catatan

Jangan atur angka ini lebih dari jumlah inti CPU.

Pengecualian

ArgumentOutOfRangeException

Jumlah thread lebih dari 100.

DictionarySize

Mendapatkan ukuran kamus yang digunakan oleh kompresi LZMA.

public int DictionarySize { get; }

Nilai Properti

int

FastSpeed

Mendapatkan instance dari kelas Aspose.Zip.Lzip.LzipArchiveSettings dengan ukuran kamus sama dengan 1 megabyte dalam filter LZMA.

public static LzipArchiveSettings FastSpeed { get; }

Nilai Properti

LzipArchiveSettings

FastestSpeed

Mendapatkan instance dari kelas Aspose.Zip.Lzip.LzipArchiveSettings dengan ukuran kamus sama dengan 65536 byte dalam filter LZMA.

public static LzipArchiveSettings FastestSpeed { get; }

Nilai Properti

LzipArchiveSettings

HighCompression

Mendapatkan instance dari kelas Aspose.Zip.Lzip.LzipArchiveSettings dengan ukuran kamus sama dengan 32 megabyte dalam filter LZMA.

public static LzipArchiveSettings HighCompression { get; }

Nilai Properti

LzipArchiveSettings

MaxMemberSize

Mendapatkan ukuran maksimum satu anggota dalam arsip lzip yang dinyatakan dalam byte.

public long MaxMemberSize { get; }

Nilai Properti

long

MaximumCompression

Mendapatkan instance dari kelas Aspose.Zip.Lzip.LzipArchiveSettings dengan ukuran kamus sama dengan 64 megabyte dalam filter LZMA.

public static LzipArchiveSettings MaximumCompression { get; }

Nilai Properti

LzipArchiveSettings

Normal

Mendapatkan instance dari kelas Aspose.Zip.Lzip.LzipArchiveSettings dengan ukuran kamus sama dengan 16 megabyte dalam filter LZMA.

public static LzipArchiveSettings Normal { get; }

Nilai Properti

LzipArchiveSettings

 Indonesia