Class LzmaCompressionSettings
Název místa: Aspose.Zip.Saving Sbírka: Aspose.Zip.dll (25.5.0)
Nastavení potřebné pro kompresor nebo dekompresor pracovat.
public class LzmaCompressionSettings : CompressionSettings
Inheritance
object ← CompressionSettings ← LzmaCompressionSettings
Dědiční členové
CompressionSettings.Bzip2 , CompressionSettings.Deflate , CompressionSettings.EnhancedDeflate , CompressionSettings.Store , CompressionSettings.Lzma , CompressionSettings.Xz , CompressionSettings.PPMd , CompressionSettings.Zstd , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Remarks
Algoritmus řetězce Lempel-Ziv-Markov (LZMA) je algoritmus používaný k provádění bezproblémové komprese dat. Tento algoritm používá slovní kompresní schéma trochu podobný algoritmu LZ77 a má vysoký poměr kompresi a variabilní velikost komprimování-diktátoru.
Viz více: https://en.wikipedia.org/wiki/Lempel –Ziv–Markov_chain_algorithm
Constructors
LzmaCompressionSettings()
Začíná nový příklad třídy Aspose.Zip.Saving.LzmaCompressionSettings s výchozím slovním rozměrem, rovná se 16 megabytům.
public LzmaCompressionSettings()
Examples
using (Archive archive = new Archive(new ArchiveEntrySettings(new LzmaCompressionSettings())))
{
archive.CreateEntry("data.bin", "data.bin");
archive.Save(zipFile);
}