ZipStream Component
Properties Methods Events Configuration Settings Errors
The ZipStream component is used to perform compression or decompression on streams.
Syntax
nsoftware.IPWorksZip.Zipstream
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.
CloseBaseStream | Whether or not to close the underlying stream. |
CompressionLevel | The compression level to use. |
StreamFormat | The 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.
CompressData | Compresses a byte array. |
Config | Sets or retrieves a configuration setting . |
DecompressData | Decompresses a byte array. |
GetCompressionStream | Creates an output stream used to write compressed data. |
GetDecompressionStream | Creates an input stream used to read data from a compressed stream. |
Reset | Resets the component. |
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.
CodePage | The system code page used for Unicode to Multibyte translations. |