Sign in Join
FPDoc Onlineexperiment

Tcompressionstream class

In unit ZStream

Write-only stream class which compresses data written to it.

Declaration

pascal
Tcompressionstream = class(Tcustomzlibstream)

Inheritance

  1. Tcompressionstream
  2. Tcustomzlibstream
  3. Townerstream
  4. TStream
  5. TObject

Description

TCompressionStream

Methods

createpublicCreate a new instance of the compression stream.
destroypublicFlushes data to the output stream and destroys the compression stream.
writepublicWrite data to the stream.
flushpublicFlush remaining data to the target stream.
get_compressionratepublicGet the current compression rate.

Events

OnProgresspublicProgress handler.

Fields

raw_writtenprotected
compressed_writtenprotected

Inherited

From Tcustomzlibstream (1)

progress

From Townerstream (2)

Source SourceOwner

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr 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.