Bytesrw_zstd.Cctx_params
Compression parameters.
The type for compression levels. See clevel
.
make ()
are the given compression parameters. Those unspecfied take the value of init
which defaults to default
. See corresponding accessors for the default values.
val default : t
default
are the default parameters. See accessors for the default values.
val checksum : t -> bool
checksum p
is true
if frames are checksumed. Defaults to false
Warning. This mirrors the library default but does not mirror the zstd
tool default.
clevel p
is the compression level. Must be in the min_clevel
to max_clevel
range. Defaults to default_clevel
. 0
means default compression level.
val window_log : t -> int
window_log
is the maximal allowed back-reference distance in power of 2
. 0
means default window log.