XzBcjX86FilterSettings.XzBcjX86FilterSettings

XzBcjX86FilterSettings constructor

Menginisialisasi instance baru dariXzBcjX86FilterSettings . Gunakan untuk mengompres file dan pustaka yang dapat dieksekusi di dalamnyaXzArchive .

public XzBcjX86FilterSettings()

Contoh

XzLZMA2FilterSettings lzma2 = new XzLZMA2FilterSettings(5242880);
XzBcjX86FilterSettings bcj = new XzBcjX86FilterSettings();
XzArchiveSettings settings = new XzArchiveSettings(new XzFilterSettings[] {bcj,lzma2}, 10485760, XzCheckType.Crc32);
using (XzArchive archive = new XzArchive(settings))
{
    archive.SetSource("data.bin");
    archive.Save("archive.xz");
}

Lihat juga