Class ZstandardLoadOptions

Class ZstandardLoadOptions

名称: Aspose.Zip.Zstandard 收藏: Aspose.Zip.dll (25.5.0)

选项 Aspose .Zip.Zstandard. ZstandarArchive 从压缩文件上加载。

public class ZstandardLoadOptions

Inheritance

object ZstandardLoadOptions

继承人

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

ZstandardLoadOptions()

public ZstandardLoadOptions()

ExtractionProgressed

收到或设置被召唤的代表,当某些比特被提取。

public event EventHandler<progresseventargs> ExtractionProgressed

事件类型

EventHandler < ProgressEventArgs >

Examples

ZstandardArchive archive = new ZstandardArchive("archive.zst", 
new ZStandardLoadOptions() { EntryExtractionProgressed = (s, e) =&gt; { int percent = (int)((100 * e.ProceededBytes) / length); } })

Remarks

事件发送器是 Aspose.Zip.Zstandard.Zstandard 存档案例,其中提取进展。

 中文