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 is a website building & hosting documentation for Clojure/Script libraries
× close