Internet Direct (Indy)
Home
PreviousUpNext
TIdZLibCompressorBase.CompressStream@TStream@TIdCompressionLevel

Specifies the interface for the default compression method in the class implementation.

Parameters 
Description 
AStream 
Values to be compressed using the encoding scheme.
 
ALevel 
Compression level required. Default is 0. 

CompressStream is an abstract virtual method that specifies the interface used for compressing data using the default compression method for the class implementation. 

CompressStream must be overridden in a descendent class to implement a specific compression method (like "deflate", "gzip", or a custom mechanism). 

Use DeflateStream to compress data using the default "deflate" compression method. 

Use DecompressDeflateStream, DecompressGZIPStream, or DecompressStream to decompress a stream encoded using the corresponding "deflate", "gzip", or default compression methods.

DeflateStream 

DecompressDeflateStream 

DecompressGZIPStream 

DecompressStream

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.