Handbook
Glossary
zstd-compress-level ( byte-array level -- compressed )
Vocabulary
compression
.
zstd
Inputs
byte-array
an
object
level
an
object
Outputs
compressed
an
object
Definition
USING:
compression.zstd.ffi
compression.zstd.private
generalizations
kernel
sequences
;
IN:
compression.zstd
:
zstd-compress-level
( byte-array level -- compressed )
[
zstd-setup-compress-buffers
]
dip
[
ZSTD_compress
check-zstd-error
]
5
nkeep
4drop
swap
head
;