Liking cljdoc? Tell your friends :D

zlib-tiny.core


adler32clj

(adler32 b)
source

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

copy-compressclj

(copy-compress input-stream output-stream compress-fn)

Copies data from input-stream to output-stream with compression. Returns the number of bytes written.

Copies data from input-stream to output-stream with compression.
Returns the number of bytes written.
sourceraw docstring

copy-decompressclj

(copy-decompress input-stream output-stream decompress-fn)

Copies data from input-stream to output-stream with decompression. Returns the number of bytes written.

Copies data from input-stream to output-stream with decompression.
Returns the number of bytes written.
sourceraw docstring

crc32clj

(crc32 b)
source

crc32cclj

(crc32c b)
source

crc64clj

(crc64 b)
source

deflateclj

(deflate b)
(deflate b level)

Returns deflate'd version of the given byte array.

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

deflate-streamclj

(deflate-stream input-stream)
(deflate-stream input-stream level)

Returns a DeflaterInputStream for streaming deflation. Useful for large files that shouldn't be loaded entirely into memory.

Returns a DeflaterInputStream for streaming deflation.
Useful for large files that shouldn't be loaded entirely into memory.
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

gunzip-streamclj

(gunzip-stream input-stream)
(gunzip-stream input-stream buffer-size)

Returns a GZIPInputStream for streaming gzip decompression. Useful for large files that shouldn't be loaded entirely into memory.

Returns a GZIPInputStream for streaming gzip decompression.
Useful for large files that shouldn't be loaded entirely into memory.
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

gzip-streamclj

(gzip-stream output-stream)
(gzip-stream output-stream buffer-size)

Returns a GZIPOutputStream for streaming gzip compression. Useful for large files that shouldn't be loaded entirely into memory.

Returns a GZIPOutputStream for streaming gzip compression.
Useful for large files that shouldn't be loaded entirely into memory.
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

inflate-streamclj

(inflate-stream input-stream)

Returns an InflaterInputStream for streaming inflation. Useful for large files that shouldn't be loaded entirely into memory.

Returns an InflaterInputStream for streaming inflation.
Useful for large files that shouldn't be loaded entirely into memory.
sourceraw docstring

md5clj

(md5 b)
source

sha-1clj

(sha-1 b)
source

sha-256clj

(sha-256 b)
source

sha-384clj

(sha-384 b)
source

sha-512clj

(sha-512 b)
source

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

wrap-crccljmacro

(wrap-crc impl b)
source

wrap-digestcljmacro

(wrap-digest algn b)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close