Class SevenZipPPMdCompressionSettings

Class SevenZipPPMdCompressionSettings

اسم الفضاء : Aspose.Zip.Saving تجميع: Aspose.Zip.dll (25.5.0)

الإعدادات اللازمة لعمل 7z المضغوط أو المضغوط.

public sealed class SevenZipPPMdCompressionSettings : SevenZipCompressionSettings

Inheritance

object SevenZipCompressionSettings SevenZipPPMdCompressionSettings

الأعضاء الموروثين

SevenZipCompressionSettings.Method , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

7ZipPPMdCompressionإعدادات(بيوت، إنت)

تثبيت إعدادات طريقة الضغط PPMd داخل أرشيف 7z.

public SevenZipPPMdCompressionSettings(byte maxOrder, int suballocatorSize)

Parameters

maxOrder byte

الحد الأقصى للأوامر

suballocatorSize int

حجم الذاكرة في MB suballocator يمكن أن تستهلك.

Examples

using (SevenZipArchive archive = new SevenZipArchive(new SevenZipEntrySettings(new SevenZipPPMdCompressionSettings(4, 32))))
{
    archive.CreateEntry("data.bin", "data.bin");                        
    archive.Save(sevenZipFile);
 }

Remarks

الأوامر النموذجية الكبيرة تقريبا بالتأكيد يؤدي إلى ضغط أفضل وبالتأكيد المزيد من الذاكرة واستخدام CPU.

قد يحتاج الخوارزميات PPMd إلى الكثير من الذاكرة، وخاصة عندما تستخدم على ملفات كبيرة و/أو تستخدم مع ترتيب نموذج كبير.

Exceptions

ArgumentOutOfRangeException

maxOrder’ is not between 2 and 32, or suballocatorSize’ is not between 1 and 1024.

7ZipPPMdCompressionإعدادات()

تثبيت إعدادات طريقة الضغط PPMd داخل أرشيف 7z مع ترتيب النموذج الافتراضي وحجم التخصيص الفرعي.

public SevenZipPPMdCompressionSettings()

Examples

using (SevenZipArchive archive = new SevenZipArchive(new SevenZipEntrySettings(new SevenZipPPMdCompressionSettings())))
{
    archive.CreateEntry("data.bin", "data.bin");                        
    archive.Save(sevenZipFile);
 }

Remarks

ترتيب النموذج الافتراضي هو 6 و حجم التوزيع الفرعي هو 16MB.

Properties

MaxOrder

يحصل على الحد الأقصى للأوامر.

public byte MaxOrder { get; }

قيمة الممتلكات

byte

Method

يتلقى الطريقة المضغوطة أو المضغوطة.

public override SevenZipCompressionMethod Method { get; }

قيمة الممتلكات

SevenZipCompressionMethod

SuballocatorSize

يحصل على حجم التوزيع الفرعي في MB.

public int SuballocatorSize { get; }

قيمة الممتلكات

int

 عربي