CompressionLevel
public struct CompressionLevel: RawRepresentable
Compression level whose rawValue is based on the zlib’s constants.
-
Compression level in the range of
0(no compression) to9(maximum compression).Declaration
Swift
public let rawValue: Int32 -
Undocumented
Declaration
Swift
public static let noCompression = Self(Z_NO_COMPRESSION) -
Undocumented
Declaration
Swift
public static let bestSpeed = Self(Z_BEST_SPEED) -
Undocumented
Declaration
Swift
public static let bestCompression = Self(Z_BEST_COMPRESSION) -
Undocumented
Declaration
Swift
public static let defaultCompression = Self(Z_DEFAULT_COMPRESSION) -
Declaration
Swift
public init(rawValue: Int32) -
Undocumented
Declaration
Swift
public init(_ rawValue: Int32)
View on GitHub
Install in Dash