Interface to DEFLATE compression algorithm.
Interface to DEFLATE compression algorithm.
(compress input)
(compress input {:keys [nowrap] :or {nowrap true}})
Given a plain byte array, compress it and return an other byte array.
Given a plain byte array, compress it and return an other byte array.
(uncompress input)
(uncompress
input
{:keys [nowrap buffer-size] :or {nowrap true buffer-size 2048} :as opts})
Given a compressed data as byte-array, uncompress it and return as an other byte array.
Given a compressed data as byte-array, uncompress it and return as an other byte array.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |