compressionMethod (property)

The compression method for the class to use.

Syntax

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

/* Possible Values */
CMG_DEFLATE(0),
CMG_LZCCOMPRESS(1)
public var compressionMethod: GzipCompressionMethods {
  get {...}
set {...} }
public enum GzipCompressionMethods : Int32 { case cmgDeflate = 0 case cmgLZCCompress = 1 }

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 iOS Edition - Version 20.0 [Build 8300]