Internet Direct (Indy)
Home
PreviousUpNext
CompressStream Function
Pascal
procedure CompressStream(
    InStream: TStream; 
    OutStream: TStream; 
    const level: Integer = Z_DEFAULT_COMPRESSION; 
    const WinBits: Integer = MAX_WBITS; 
    const MemLevel: Integer = MAX_MEM_LEVEL; 
    const Stratagy: Integer = Z_DEFAULT_STRATEGY
);
Parameters 
Description 
InStream 
Type is TStream.
 
OutStream 
Type is TStream.
 
level 
Scope is const. Type is Integer. Default value is Z_DEFAULT_COMPRESSION.
 
WinBits 
Scope is const. Type is Integer. Default value is MAX_WBITS.
 
MemLevel 
Scope is const. Type is Integer. Default value is MAX_MEM_LEVEL.
 
Stratagy 
Scope is const. Type is Integer. Default value is Z_DEFAULT_STRATEGY

CompressStream is a procedure.

Topic generated.

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.