Class SevenZipBZip2CompressionSettings
Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)
Cài đặt cần thiết để bộ nén hoặc giải nén 7z hoạt động.
public class SevenZipBZip2CompressionSettings : SevenZipCompressionSettings
Kế thừa
object ← SevenZipCompressionSettings ← SevenZipBZip2CompressionSettings
Các thành viên kế thừa
SevenZipCompressionSettings.Method, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Nhận xét
Bzip2 nén tệp bằng cách sử dụng thuật toán nén văn bản sắp xếp khối Burrows-Wheeler và mã hóa Huffman.
Xem thêm: https://en.wikipedia.org/wiki/Bzip2
Các hàm khởi tạo
SevenZipBZip2CompressionSettings(int)
Khởi tạo một thể hiện mới của lớp Aspose.Zip.Saving.SevenZipBZip2CompressionSettings.
public SevenZipBZip2CompressionSettings(int blockSize)
Tham số
blockSize
int
Kích thước khối tính bằng trăm kilobyte.
Ngoại lệ
blockSize
quá lớn hoặc quá nhỏ.
SevenZipBZip2CompressionSettings()
Khởi tạo một thể hiện mới của lớp Aspose.Zip.Saving.SevenZipBZip2CompressionSettings với kích thước khối mặc định, bằng 9 trăm kilobyte.
public SevenZipBZip2CompressionSettings()
Thuộc tính
BlockSize
Kích thước khối tính bằng trăm kilobyte.
public int BlockSize { get; }
Giá trị thuộc tính
Method
Lấy phương thức nén hoặc giải nén.
public override SevenZipCompressionMethod Method { get; }