[Overview][Constants][Types][Classes][Procedures and functions] Reference for unit 'zlibar' (#archive)

TZlibCompressProgProc

Callback used to follow the progress of overall and current progress

Declaration

Source position: zlibar.pas line 98

type TZlibCompressProgProc = procedure(

  Sender: TObject;

  FileIndex: Integer;

  FileSize: Int64;

  FilePos: Int64

) of object;

Arguments

Sender

  

TZlibWriteArchive Object

FileIndex

  

Index of the current file that is being compressed.

FileSize

  

Total size of the InStream to be compressed

FilePos

  

Amount of the InStream that has been compressed.

Description

Used to provide feedback to the user of the progress of compression.