Compresses and/or encrypts data from the specified stream.
function ECLCompressStream(InStream,OutStream: TStream; Password: String = ''; CompressionLevel: TECLCompressionLevel = zlibFastest): Boolean;
Call ECLCompressStream to compress and/or encrypt data from the stream.
This function returns True if the compression and/or encryption completed without errors or False if any error occurred.
InStream represents the source stream.
OutStream contains the compressed and/or encrypted data.
If Password is not blank, it is used to encrypt the data.
CompressionLevel specifies the level of compression to be used.