Class SevenZipArchiveEntryEncrypted
Namespace: Aspose.Zip.SevenZip
Assembly: Aspose.Zip.dll (25.1.0)
Đại diện cho một tệp đơn trong kho lưu trữ 7z.
public class SevenZipArchiveEntryEncrypted : SevenZipArchiveEntry, IArchiveFileEntry
Kế thừa
object ← SevenZipArchiveEntry ← SevenZipArchiveEntryEncrypted
Triển khai
Các thành viên kế thừa
SevenZipArchiveEntry.GetDestinationStream(Stream), SevenZipArchiveEntry.FinalizeCompressedData(Stream, byte[]), SevenZipArchiveEntry.Extract(string, string), SevenZipArchiveEntry.Extract(Stream, string), SevenZipArchiveEntry.Open(string), SevenZipArchiveEntry.Name, SevenZipArchiveEntry.ModificationTime, SevenZipArchiveEntry.UncompressedSize, SevenZipArchiveEntry.CompressedSize, SevenZipArchiveEntry.IsDirectory, SevenZipArchiveEntry.CompressionSettings, SevenZipArchiveEntry.Source, SevenZipArchiveEntry.FileAttributes, SevenZipArchiveEntry.CompressionProgressed, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Nhận xét
Chuyển đổi một thể hiện của Aspose.Zip.SevenZip.SevenZipArchiveEntry thành Aspose.Zip.SevenZip.SevenZipArchiveEntryEncrypted để xác định xem mục đã được mã hóa hay chưa.
Phương thức
FinalizeCompressedData(Stream, byte[])
Ghi vào luồng đầu ra bất kỳ tiêu đề nào theo sau dữ liệu nén.
protected override int FinalizeCompressedData(Stream outputStream, byte[] encoderProperties)
Tham số
outputStream
Stream
Luồng đầu ra cho mục.
encoderProperties
byte[]
Các thuộc tính của bộ nén.
Trả về
Số byte “kỹ thuật” đã được thêm vào sau khối dữ liệu quan trọng của mục.
Ngoại lệ
Khóa bị hỏng có thể gây ra đệm không hợp lệ cho luồng.
Khối cuối cùng đã được chuyển đổi.
GetDestinationStream(Stream)
Luồng đích cho mục, có thể được trang trí.
protected override Stream GetDestinationStream(Stream outputStream)
Tham số
outputStream
Stream
Luồng đầu ra cho mục.
Trả về
Luồng đích cho việc nén mục.