Search: 
Available in: ZIP
ZipStream Component [IP*Works! ZIP V8]

Properties   Methods   Events   Configuration Settings  

The ZipStream component is used to perform compression or decompression on streams.

NOTE: What follows is a very short description of the component interfaces. For more information, please consult the help files that come with the respective package.

Remarks

The ZipStream component operates by producing streams that read or write compressed data, as appropriate. The GetDecompressionStream and GetCompressionStream methods are used to retrieve streams that read or write compressed data, as appropriate; the underlying stream should be passed to either method as a parameter.

The component may be used to read and write the zlib format, as specified in RFC 1950, deflate, as specified in RFC 1951, or gzip, as specified in RFC 1952.

For additional ease of use, the CompressData and DecompressData methods are also provided to compress or decompress byte arrays with a single line of code.

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for further details.

CloseBaseStreamWhether or not to close the underlying stream.
CompressionLevelThe compression level to use.
StreamFormatThe stream format to use.

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for further details.

CompressDataCompresses a byte array.
ConfigSets or retrieves a configuration setting.
DecompressDataDecompresses a byte array.
GetCompressionStreamCreates an output stream used to write compressed data.
GetDecompressionStreamCreates an input stream used to read data from a compressed stream.

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for further details.

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for further details.

CodePageThe system code page used for Unicode to Multibyte translations (Windows/COM only)

| About | Privacy Policy | Terms of Use |
© Copyright 2010 /n software inc.