Class ZstandardLoadOptions

Class ZstandardLoadOptions

Namespace: Aspose.Zip.Zstandard
Assembly: Aspose.Zip.dll (25.5.0)

Options with which Aspose.Zip.Zstandard.ZstandardArchive is loaded from a compressed file. Contains event raised on extraction.

public class ZstandardLoadOptions

Inheritance

object ZstandardLoadOptions

Inherited Members

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

Constructors

ZstandardLoadOptions()

public ZstandardLoadOptions()

ExtractionProgressed

Gets or sets the delegate invoked when some bytes have been extracted.

public event EventHandler<progresseventargs> ExtractionProgressed

Event Type

EventHandler < ProgressEventArgs &gt;

Examples

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

Remarks

Event sender is the Aspose.Zip.Zstandard.ZstandardArchive instance which extraction is progressed.

 English