8.16.0.4
LZ4
(require file/lz4) | package: lz4-lib |
This module provides a pure-Racket decompressor for LZ4-compressed data in accordance with the LZ4 frame[LZ4_FRAME] and block[LZ4_BLOCK] formats.
procedure
(lz4-decompress-through-ports in out [ #:validate-content? validate-content?]) → void? in : input-port? out : output-port? validate-content? : boolean? = #f
Reads LZ4-compressed frames from in and writes the
uncompressed data to out. If the compressed data is
corrupted or contains unsupported features, raises an
exn:fail error.
Content checksums are verified when validate-content? is #t.
Changed in version 1.4 of package lz4-lib: Added the #:validate-content? argument.
Bibliography
[LZ4_BLOCK] | “LZ4 Block Format.” https://github.com/lz4/lz4/blob/8a31e6402df11c1bf8fbb1db3b29ec2c76fe6f26/doc/lz4_Block_format.md | |
[LZ4_FRAME] | “LZ4 Frame Format.” https://github.com/lz4/lz4/blob/8a31e6402df11c1bf8fbb1db3b29ec2c76fe6f26/doc/lz4_Frame_format.md |