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) to 9 (maximum compression).

    Declaration

    Swift

    public let rawValue: Int32
  • Undocumented

    Declaration

    Swift

    public static let noCompression: CompressionLevel
  • Undocumented

    Declaration

    Swift

    public static let bestSpeed: CompressionLevel
  • Undocumented

    Declaration

    Swift

    public static let bestCompression: CompressionLevel
  • Undocumented

    Declaration

    Swift

    public static let defaultCompression: CompressionLevel
  • Declaration

    Swift

    public init(rawValue: Int32)
  • Undocumented

    Declaration

    Swift

    public init(_ rawValue: Int32)