(wrap-compression stream & options)
Returns an Input-/OutputStream that uses compression for the given Input-/OutputStream.
The following options can be specified: ⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺
:compression-algorithm [choices = *:snappy, :gzip] Specifies the compression algorithm to use. Snappy is default since it is pretty fast when reading and writing.
:compression-level [choices = *9, 0, 1, 2, 3, 4, 5, 6, 7, 8] For compression algorithm :gzip, range 0,1-9 (no compression, best speed - best compression)
:no-wrap [default = true] For compression algorithm :gzip, set to true for GZIP compatible compression
Returns an Input-/OutputStream that uses compression for the given Input-/OutputStream. The following options can be specified: ⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺ :compression-algorithm [choices = *:snappy, :gzip] Specifies the compression algorithm to use. Snappy is default since it is pretty fast when reading and writing. :compression-level [choices = *9, 0, 1, 2, 3, 4, 5, 6, 7, 8] For compression algorithm :gzip, range 0,1-9 (no compression, best speed - best compression) :no-wrap [default = true] For compression algorithm :gzip, set to true for GZIP compatible compression
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close