enum Zip::CompressionMethod

Overview

Compression method used by file. Used to interpret comp_method field of LibZip::Stat structure.

Defined in:

zip/constants.cr

Enum Members

DEFAULT = -1

better of deflate or store

STORE = 0
SHRINK = 1
REDUCE_1 = 2
REDUCE_2 = 3
REDUCE_3 = 4
REDUCE_4 = 5
IMPLODE = 6
DEFLATE = 8

7 - Reserved for Tokenizing compression algorithm

DEFLATE64 = 9
PKWARE_IMPLODE = 10
BZIP2 = 12

11 - Reserved by PKWARE

LZMA = 14

13 - Reserved by PKWARE

LZMA2 = 33
TERSE = 18
LZ77 = 19
ZSTD = 93
XZ = 95
WAVPACK = 97
PPMD = 98

Instance Method Summary

Instance Method Detail

def bzip2? #

[View source]
def default? #

[View source]
def deflate64? #

[View source]
def deflate? #

[View source]
def implode? #

[View source]
def lz77? #

[View source]
def lzma2? #

[View source]
def lzma? #

[View source]
def none? #

[View source]
def pkware_implode? #

[View source]
def ppmd? #

[View source]
def reduce_1? #

[View source]
def reduce_2? #

[View source]
def reduce_3? #

[View source]
def reduce_4? #

[View source]
def shrink? #

[View source]
def store? #

[View source]
def terse? #

[View source]
def wavpack? #

[View source]
def xz? #

[View source]
def zstd? #

[View source]