chickadee » zstd » compressing-output-port

compressing-output-port output-port #!key (level 3)procedure

Returns an output-port to which uncompressed data can be written, and its compressed form will be written to output-port. If level is supplied, it sets the compression level as documented by man zstd, and should be an integer in the range [1-19]. Closing this output-port does not close output-port.