Class ZstandardLoadOptions

Class ZstandardLoadOptions

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

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

public class ZstandardLoadOptions

Inheritance

objectZstandardLoadOptions

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