Class AppleLzmaCompressionSettings

Class AppleLzmaCompressionSettings

Namespace: Aspose.Zip.Apple
Assembly: Aspose.Zip.dll (26.4.0)

Settings for LZMA compression within an Apple Archive (.aar) file.

public class AppleLzmaCompressionSettings : AppleCompressionSettings

Inheritance

object AppleCompressionSettings AppleLzmaCompressionSettings

Inherited Members

AppleCompressionSettings.Lz4 , AppleCompressionSettings.Lzma , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

AppleLzmaCompressionSettings(int, int)

Initializes a new instance of the Aspose.Zip.Apple.AppleLzmaCompressionSettings class.

public AppleLzmaCompressionSettings(int blockSize, int dictionarySize = 8388608)

Parameters

blockSize int

The size of each data block before compression.

dictionarySize int

The dictionary size used for compression.

Exceptions

ArgumentOutOfRangeException

blockSize or dictionarySize is out of range.

AppleLzmaCompressionSettings(int, int, int)

Initializes a new instance of the Aspose.Zip.Apple.AppleLzmaCompressionSettings class.

public AppleLzmaCompressionSettings(int blockSize, int dictionarySize, int fastBytes)

Parameters

blockSize int

The size of each data block before compression.

dictionarySize int

The dictionary size used for compression.

fastBytes int

The number of fast bytes used for compression.

Exceptions

ArgumentOutOfRangeException

blockSize, dictionarySize, or fastBytes is out of range.

AppleLzmaCompressionSettings()

Initializes a new instance of the Aspose.Zip.Apple.AppleLzmaCompressionSettings class with default parameters.

public AppleLzmaCompressionSettings()

Properties

BlockSize

Gets the size of each data block before compression.

public int BlockSize { get; }

Property Value

int

DictionarySize

Gets the dictionary size used for compression.

public int DictionarySize { get; }

Property Value

int

FastBytes

Gets the number of fast bytes used for compression.

public int FastBytes { get; }

Property Value

int