CompressionType#

public enum CompressionType#

Enumeration of compression formats.

Enum Constant Summary

AUTO

Automatically detect or select the compression codec.

BROTLI

BROTLI format using LZ77 + Huffman + 2nd order context modeling.

BZIP2

BZIP2 format using Burrows-Wheeler transform.

GZIP

GZIP format using the DEFLATE algorithm.

LZ4

LZ4 format, using LZ77.

LZO

Lempel–Ziv–Oberhumer format.

NONE

No compression.

SNAPPY

Snappy format using byte-oriented LZ77.

XZ

XZ format using LZMA(2) algorithm.

ZIP

ZIP format using DEFLATE algorithm.

ZLIB

ZLIB format, using DEFLATE algorithm.

ZSTD

Zstandard format.

Enum Constants

NONE#

No compression.

AUTO#

Automatically detect or select the compression codec.

SNAPPY#

Snappy format using byte-oriented LZ77.

GZIP#

GZIP format using the DEFLATE algorithm.

BZIP2#

BZIP2 format using Burrows-Wheeler transform.

BROTLI#

BROTLI format using LZ77 + Huffman + 2nd order context modeling.

ZIP#

ZIP format using DEFLATE algorithm.

XZ#

XZ format using LZMA(2) algorithm.

ZLIB#

ZLIB format, using DEFLATE algorithm.

LZ4#

LZ4 format, using LZ77.

LZO#

Lempel–Ziv–Oberhumer format.

ZSTD#

Zstandard format.