[Overview][Constants][Types][Classes][Index] | Reference for unit 'Zipper' (#fcl)

# TDeCompressor

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Decompressor object

## Declaration

Source position: zipper.pp line 234

`type TDeCompressor = class(TObject)`
`public`
`constructor Create(); virtual;` |  | Creates decompressor object
`procedure DeCompress; virtual; abstract;` |  | Decompress zip stream
`procedure Terminate;` |  | Halts decompression and sets Terminated to True
`class function ZipID; virtual; abstract;` |  | Identifier for type of compression
`property BufferSize: LongWord; [r]` |  | Size of buffer used in decompression
`property OnPercent: Integer; [rw]` |  | Percentage of decompression completion
`property OnProgress: TProgressEvent; [rw]` |  | Event handler for OnProgress procedure
`property OnProgressEx: TProgressEventEx; [rw]` |  | Event handler signalled to indicate progress using processed and total byte counts
`property Crc32Val: LongWord; [rw]` |  | Running CRC32 value used for verifying zip file integrity
`property Terminated: Boolean; [r]` |  | Set to True when the Terminate method is called
`end;`

## Inheritance

`TDeCompressor` |  | Decompressor object
`TObject`

## Description

This object decompresses a compressed zip stream.

Documentation generated on: May 14 2021