module Zstd::Compress

Defined in:

zstd/compress.cr
zstd/compress/dict.cr

Constant Summary

LEVEL_DEFAULT = ENV["ZSTD_CLEVEL"]?.try(&.to_i) || 3

The default compression level.

Uses ENV["ZSTD_CLEVEL"] just like the command line utilities.

LEVEL_MAX = Lib.max_c_level.to_i
LEVEL_MIN = Lib.min_c_level.to_i