CompressionMethod Property

The compression method for the class to use.

Syntax

ANSI (Cross Platform)
int GetCompressionMethod();
int SetCompressionMethod(int iCompressionMethod); Unicode (Windows) INT GetCompressionMethod();
INT SetCompressionMethod(INT iCompressionMethod);

Possible Values

CMG_DEFLATE(0), 
CMG_LZCCOMPRESS(1)
@property (nonatomic,readwrite,assign,getter=compressionMethod,setter=setCompressionMethod:) int compressionMethod;
- (int)compressionMethod;
- (void)setCompressionMethod:(int)newCompressionMethod;

Possible Values

CMG_DEFLATE(0), 
CMG_LZCCOMPRESS(1)
#define PID_GZIP_COMPRESSIONMETHOD 3

IPWORKSZIP_EXTERNAL void* IPWORKSZIP_CALL IPWorksZip_Gzip_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSZIP_EXTERNAL int IPWORKSZIP_CALL IPWorksZip_Gzip_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

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.

Data Type

Integer

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