Data Compression

let compressed = try data.compressed(using: .zlib)
public enum CompressionAlgorithm: Int {
  case lzfse
  case lz4
  case lama
  case zlib
}

Tags: