TCompressor class
Compressor object.
Declaration
TCompressor = class(TObject)Inheritance
- TCompressor
- TObject
Descends from it: TDeflater TShrinker
Description
This object compresses a stream into a compressed zip stream.
Properties
BufferSize | public | Size of the buffer used for compression. |
Crc32Val | public | Running CRC32 value. |
Terminated | public | Set to True when the Terminate method is called. |
Methods
UpdC32 | protected | Updates running CRC32 value. |
Create | public | Creates a object. |
Compress | public | Compresses input stream to output stream. |
ZipID | public | Identifier for type of compression. |
ZipVersionReqd | public | ZIP version required in the method. |
ZipBitFlag | public | Current bit. |
Terminate | public | Halts the compressor by setting the Terminated property to True. |
Events
OnPercent | public | Threshold percentage which triggers an OnProgress update. |
OnProgress | public | Event handler signalled to indicate the completion percentage for the compressor. |
Fields
FInFile | protected | Input/source stream for compression. |
FOutFile | protected | Output stream with compressed data. |
FCrc32Val | protected | CRC calculation variable. |
FBufferSize | protected | Size of buffer used for compression. |
FOnPercent | protected | Percentage of operation completed. |
FOnProgress | protected | Progress event procedure. |
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.
