Liking cljdoc? Tell your friends :D

zlib-tiny.core


bytes->strclj

(bytes->str b & [encoding])

Returns the String corresponding to the given encoding's decoding of the given bytes. If no encoding is specified, UTF-8 is used.

Returns the String corresponding to the given encoding's decoding of the
given bytes. If no encoding is specified, UTF-8 is used.
sourceraw docstring

crc32clj

(crc32 b)
source

deflateclj

(deflate b)

Returns a deflate'd version of the given byte array.

Returns a deflate'd version of the given byte array.
sourceraw docstring

force-byte-arrayclj

(force-byte-array b)

force b as byte array if it is an InputStream, also close the stream

force b as byte array if it is an InputStream, also close the stream
sourceraw docstring

gunzipclj

(gunzip b)

Returns a gunzip'd version of the given byte array.

Returns a gunzip'd version of the given byte array.
sourceraw docstring

gzipclj

(gzip b)

Returns a gzip'd version of the given byte array.

Returns a gzip'd version of the given byte array.
sourceraw docstring

inflateclj

(inflate b)

Returns a zlib inflate'd version of the given byte array or InputStream.

Returns a zlib inflate'd version of the given byte array or InputStream.
sourceraw docstring

str->bytesclj

(str->bytes s & [encoding])

Returns the encoding's bytes corresponding to the given string. If no encoding is specified, UTF-8 is used.

Returns the encoding's bytes corresponding to the given string. If no
encoding is specified, UTF-8 is used.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close