Class SevenZipBZip2CompressionSettings
Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.2.0)
Settings needed for 7z compressor or decompressor to work.
public class SevenZipBZip2CompressionSettings : SevenZipCompressionSettings
Inheritance
object ← SevenZipCompressionSettings ← SevenZipBZip2CompressionSettings
Inherited Members
SevenZipCompressionSettings.Method, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Bzip2 compresses files using the Burrows-Wheeler block sorting text compression algorithm, and Huffman coding.
See more: https://en.wikipedia.org/wiki/Bzip2
Constructors
SevenZipBZip2CompressionSettings(int)
Initializes a new instance of the Aspose.Zip.Saving.SevenZipBZip2CompressionSettings class.
public SevenZipBZip2CompressionSettings(int blockSize)
Parameters
blockSize
int
Block size in hundreds of kilobytes.
Exceptions
blockSize
is too big or too small.
SevenZipBZip2CompressionSettings()
Initializes a new instance of the Aspose.Zip.Saving.SevenZipBZip2CompressionSettings class with default block size, equals to 9 hundred of kilobytes.
public SevenZipBZip2CompressionSettings()
Properties
BlockSize
Block size in hundreds of kilobytes.
public int BlockSize { get; }
Property Value
Method
Gets compression or decompression method.
public override SevenZipCompressionMethod Method { get; }