ZstandardLoadOptions.ExtractionProgressed

ZstandardLoadOptions.ExtractionProgressed event

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

public event EventHandler<ProgressEventArgs> ExtractionProgressed;

Remarks

Event sender is the ZstandardArchive instance which extraction is progressed.

Examples

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

See Also