CompressedData Event

This event fires with compressed data.

Syntax

public event OnCompressedDataHandler OnCompressedData;

public delegate void OnCompressedDataHandler(object sender, ZipstreamCompressedDataEventArgs e);

public class ZipstreamCompressedDataEventArgs : EventArgs {
  public string Data { get; }
public byte[] DataB { get; } }
Public Event OnCompressedData As OnCompressedDataHandler

Public Delegate Sub OnCompressedDataHandler(sender As Object, e As ZipstreamCompressedDataEventArgs)

Public Class ZipstreamCompressedDataEventArgs Inherits EventArgs
  Public ReadOnly Property Data As String
Public ReadOnly Property DataB As Byte() End Class

Remarks

The CompressedData event fires as compressed data is available when CompressData or CompressBlock is called. This may fire one or more times when data is compressed.

Data holds the current block of compressed data.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 .NET Edition - Version 20.0 [Build 8300]