CompressionLevel

public enum CompressionLevel : Int32

The level of zlib compression to apply. For more information, see zlib manual.

  • No compression is performed - the input data is simply copied a block at a time.

    Declaration

    Swift

    case noCompression = 0
  • Best speed.

    Declaration

    Swift

    case bestSpeed = 1
  • Best compression.

    Declaration

    Swift

    case bestCompression = 9
  • A compromise between speed and compression.

    Declaration

    Swift

    case defaultCompression = -1