mirror of
https://github.com/tsolomko/SWCompression.git
synced 2026-06-23 14:56:41 +00:00
23 lines
418 B
Swift
23 lines
418 B
Swift
// Copyright (c) 2026 Timofey Solomko
|
|
// Licensed under MIT License
|
|
//
|
|
// See LICENSE for license information
|
|
|
|
import Foundation
|
|
|
|
/// Represents a (de)compression method.
|
|
public enum CompressionMethod {
|
|
/// BZip2.
|
|
case bzip2
|
|
/// Copy (no compression).
|
|
case copy
|
|
/// Deflate.
|
|
case deflate
|
|
/// LZMA.
|
|
case lzma
|
|
/// LZMA 2.
|
|
case lzma2
|
|
/// Other/unknown method.
|
|
case other
|
|
}
|