IPWorks ZIP 2020 JavaScript Edition

Questions / Feedback?

CompressionMethod Property

Used to set the method of compression.

Syntax


 getCompressionMethod(): SevenzipCompressionMethods;

 setCompressionMethod(compressionMethod: SevenzipCompressionMethods): void;

enum SevenzipCompressionMethods { cmszLzma, cmszBzip2, cmszDelta, cmszCopy, cmszDeflate, cmszLzma2 }

Default Value

0

Remarks

This is used to specify different compression methods. By default the class uses the LZMA compression method (a value of 0). Supported values are:

ValueMethod
cmszLzma (0 - default) LZMA
cmszBzip2 (1) BZip2
cmszDelta (2) Delta
cmszCopy (3) Copy (no compression)
cmszDeflate (4) Deflate
cmszLzma2 (5) LZMA2

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