TECLStream.Create
TECLStream
Creates an instance of TECLStream.
constructor Create(DataStream: TStream; bCreate: Boolean = false; Password: string = ''; CompressLevel: TECLCompressionLevel = DefaultCompressoinLevel; CustomHeaderSize: Integer = 0);
Description
Call Create to instantiate a compression/decompression stream for reading from or writing to the specified stream.
bCreate parameter specifies whether the compressed data stream should be created or opened.
Password parameter value different from default blank string indicates that data is encrypted by this password.
CompressLevel indicates the level of compression to be used for the created stream. If you open existing an compressed data stream this parameter is meaningless.
Specify CustomHeaderSize parameter to set the number of bytes in the custom not compressed header. This custom header could be used to store user information that will not be compressed or encrypted. See also help for CustomHeaderSize property.
|