Class SevenZipArchiveEntryEncrypted
Namespace: Aspose.Zip.SevenZip
Assembly: Aspose.Zip.dll (25.1.0)
表示7z压缩包中的单个文件。
public class SevenZipArchiveEntryEncrypted : SevenZipArchiveEntry, IArchiveFileEntry
继承
object ← SevenZipArchiveEntry ← SevenZipArchiveEntryEncrypted
实现
继承成员
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()
备注
将Aspose.Zip.SevenZip.SevenZipArchiveEntry实例转换为Aspose.Zip.SevenZip.SevenZipArchiveEntryEncrypted,以确定条目是否被加密。
方法
FinalizeCompressedData(Stream, byte[])
将任何跟随压缩数据的头写入输出流。
protected override int FinalizeCompressedData(Stream outputStream, byte[] encoderProperties)
参数
outputStream
Stream
条目的输出流。
encoderProperties
byte[]
压缩器的属性。
返回
在条目重要数据块之后添加的“技术”字节数。
异常
密钥已损坏,可能导致流的填充无效。
最后一个块已经被转换。
GetDestinationStream(Stream)
条目的目标流,可能会被装饰。
protected override Stream GetDestinationStream(Stream outputStream)
参数
outputStream
Stream
条目的输出流。
返回
条目压缩的目标流。