AppleLz4CompressionSettings

Inheritance: java.lang.Object, com.aspose.zip.AppleCompressionSettings

public class AppleLz4CompressionSettings extends AppleCompressionSettings

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

Constructors

ConstructorDescription
AppleLz4CompressionSettings(int blockSize)Initializes a new instance of the AppleLz4CompressionSettings class.
AppleLz4CompressionSettings()Initializes a new instance of the AppleLz4CompressionSettings class with default parameters.

Methods

MethodDescription
getBlockSize()Gets the size of each compressed pbz4/bv41 block.

AppleLz4CompressionSettings(int blockSize)

public AppleLz4CompressionSettings(int blockSize)

Initializes a new instance of the AppleLz4CompressionSettings class.

Parameters:

ParameterTypeDescription
blockSizeintThe size of each compressed pbz4/bv41 block.

AppleLz4CompressionSettings()

public AppleLz4CompressionSettings()

Initializes a new instance of the AppleLz4CompressionSettings class with default parameters.

getBlockSize()

public final int getBlockSize()

Gets the size of each compressed pbz4/bv41 block.

Value: The default value is 4 MiB.

Returns: int - the size of each compressed pbz4/bv41 block.