compressionLevel (property)

The compression level to use.

Syntax

@property (nonatomic,readwrite,assign,getter=compressionLevel,setter=setCompressionLevel:) int compressionLevel;
- (int)compressionLevel;
- (void)setCompressionLevel:(int)newCompressionLevel;
public var compressionLevel: Int32 {
  get {...}
set {...} }

Default Value

4

Remarks

This property specifies the level of compression to be used, between 1 and 6. Higher values will cause the class to compress better; lower values will cause the class to compress faster.

Storing without compression is not supported for Gzip.

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