Liking cljdoc? Tell your friends :D

cljam.util

General utilities.

General utilities.
raw docstring

as-urlclj

(as-url x)
source

basenameclj

(basename x)
source

bytes->stringclj

(bytes->string b)
source

compressor-input-streamclj

(compressor-input-stream f)

Returns an compressor input stream from f, autodetecting the compressor type from the first few bytes of f. Returns java.io.BufferedInputStream if the compressor type is not known. Should be used inside with-open to ensure the InputStream is properly closed.

Returns an compressor input stream from f, autodetecting the compressor type
from the first few bytes of f. Returns java.io.BufferedInputStream if the
compressor type is not known. Should be used inside with-open to ensure the
InputStream is properly closed.
sourceraw docstring

compressor-output-streamclj

(compressor-output-stream f)
(compressor-output-stream f k)

Returns an compressor output stream from f and a compressor type k. k must be selected from :gzip or :bzip2. Autodetects the compressor type from the extension of f if k is not passed. Returns java.io.BufferedOutputStream if the compressor type is not known. Should be used inside with-open to ensure the OutputStream is properly closed.

Returns an compressor output stream from f and a compressor type k. k must be
selected from :gzip or :bzip2. Autodetects the compressor type from the
extension of f if k is not passed. Returns java.io.BufferedOutputStream if the
compressor type is not known. Should be used inside with-open to ensure the
OutputStream is properly closed.
sourceraw docstring

graph?clj

(graph? c)

Returns true if c is a visible character, false if not.

Returns true if c is a visible character, false if not.
sourceraw docstring

space?clj

(space? c)

Returns true if c is a character that creates "white space" in displayed text.

Returns true if c is a character that creates "white space" in displayed
text.
sourceraw docstring

string->bytesclj

(string->bytes s)
source

temp-dirclj

source

ubyteclj

(ubyte n)

Casts to byte avoiding an error about out of range for byte.

Casts to byte avoiding an error about out of range for byte.
sourceraw docstring

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

× close