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설정(바이트, int)

7z 아카이브 내에서 PPMd 압축 방법에 대한 설정을 즉시 설정합니다.

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 알고리즘은 많은 메모리를 필요로 할 수 있습니다, 특히 큰 파일에 사용되고 / 또는 큰 모델 순서로 사용됩니다. ppmd는 당신이 그것을 제공하는 것보다 더 많은 메모리를 필요로하는 경우, 압축은 더 나빠질 것입니다.

Exceptions

ArgumentOutOfRangeException

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

7ZipPPMdCompression설정()

기본 모델 순서와 하위 할당기 크기로 7z 아카이브 내에서 PPMd 압축 방법에 대한 설정을 설치합니다.

public SevenZipPPMdCompressionSettings()

Examples

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

Remarks

기본 모델 명령은 6이며 sub-allocator 크기는 16MB입니다.

Properties

MaxOrder

최대 명령을 받는다.

public byte MaxOrder { get; }

부동산 가치

byte

Method

압축 또는 압축 방법을 얻습니다.

public override SevenZipCompressionMethod Method { get; }

부동산 가치

SevenZipCompressionMethod

SuballocatorSize

MB에서 sub-allocator 크기를 얻습니다.

public int SuballocatorSize { get; }

부동산 가치

int

 한국어