Structure
ZipStat.CompressionMethod
public struct CompressionMethod: RawRepresentable, Equatable
A compression algorithm.
Relationships
Member Of
ZipStat
Properties of the archive etry.
Conforms To
Equatable
RawRepresentable
Initializers
init(rawValue:)
public init(rawValue: Int32)
Properties
rawValue
let rawValue: Int32
`default`
let `default`
default compression; currently the same as deflate
, but flags are ignored.
store
let store
Store the file uncompressed.
shrink
let shrink
Not supported by libzip/SwiftZip
reduce1
let reduce1
Not supported by libzip/SwiftZip
reduce2
let reduce2
Not supported by libzip/SwiftZip
reduce3
let reduce3
Not supported by libzip/SwiftZip
reduce4
let reduce4
Not supported by libzip/SwiftZip
implode
let implode
Not supported by libzip/SwiftZip
deflate
let deflate
Deflate the file with the zlib(3) algorithm and default options.
deflate64
let deflate64
Not supported by libzip/SwiftZip
pkwareImplode
let pkwareImplode
Not supported by libzip/SwiftZip
bzip2
let bzip2
Compress the file using the bzip2(1) algorithm.
lzma
let lzma
Not supported by libzip/SwiftZip
terse
let terse
Not supported by libzip/SwiftZip
lz77
let lz77
Not supported by libzip/SwiftZip
lzma2
let lzma2
Not supported by libzip/SwiftZip
xz
let xz
Not supported by libzip/SwiftZip
jpeg
let jpeg
Not supported by libzip/SwiftZip
wavpack
let wavpack
Not supported by libzip/SwiftZip
ppmd
let ppmd
Not supported by libzip/SwiftZip