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

7ZipPPMdコミュニケーション設定(バイト、 int)

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.

7ZipPPMdコミュニケーション設定()

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

 日本語