CompressionMethod

public enum CompressionMethod : String, CaseIterable, Codable

An enumeration representing the available compression methods for data storage or transmission.

  • none: No compression is applied.
  • gzip: Uses the Gzip compression algorithm.
  • lzfse: Uses the LZFSE compression algorithm, optimized for speed and compression ratio.
  • lz4: Uses the LZ4 compression algorithm, optimized for very fast compression and decompression.

This enum conforms to String, CaseIterable, and Codable protocols, allowing it to be represented as a string, iterated over all cases, and encoded/decoded.

  • Undocumented

    Declaration

    Swift

    case none
  • Undocumented

    Declaration

    Swift

    case gzip
  • Undocumented

    Declaration

    Swift

    case lzfse
  • lz4

    Undocumented

    Declaration

    Swift

    case lz4