IPWorks ZIP 2020 JavaScript Edition

Questions / Feedback?

CompressionMethod Property

The compression method for the class to use.

Syntax


 getCompressionMethod(): GzipCompressionMethods;

 setCompressionMethod(compressionMethod: GzipCompressionMethods): void;

enum GzipCompressionMethods { cmgDeflate, cmgLZCCompress }

Default Value

0

Remarks

By default, the component uses the Deflate compression method described in rfc 1952. When set to LZC compress method, the component will use a variation of the method described by the LZW (Lempel-Ziv-Welch) algorithm that is compatible with Unix's compress utility.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 JavaScript Edition - Version 20.0 [Build 8300]