Sign in Join
FPDoc Onlineexperiment

TDeCompressor class

In unit Zipper

Decompressor object.

Declaration

pascal
TDeCompressor = class(TObject)

Inheritance

  1. TDeCompressor
  2. TObject

Descends from it: TInflater

Description

This object decompresses a compressed zip stream.

Properties

BufferSizepublicSize of buffer used in decompression.
Crc32ValpublicRunning CRC32 value used for verifying zip file integrity.
TerminatedpublicSet to True when the Terminate method is called.

Methods

UpdC32protectedUpdates running CRC32 value.
CreatepublicCreates decompressor object.
DeCompresspublicDecompress zip stream.
TerminatepublicHalts decompression and sets Terminated to True.
ZipIDpublicIdentifier for type of compression.

Events

OnPercentpublicPercentage of decompression completion.
OnProgresspublicEvent handler for OnProgress procedure.
OnProgressExpublicEvent handler signalled to indicate progress using processed and total byte counts.

Fields

FInFileprotectedInput stream with compressed data.
FOutFileprotectedOutput stream with decompressed data.
FCrc32ValprotectedRunning CRC32 value.
FBufferSizeprotectedBuffer size.
FOnPercentprotectedPercentage of operation completed.
FOnProgressprotectedReference to OnProgress event handler.
FOnProgressExprotected
FTotPosprotected
FTotSizeprotected
FTerminatedprotected

Inherited

From TObject (41)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Destroy Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.