Liking cljdoc? Tell your friends :D

com.unbounce.treajure.io


slurp-bytesclj

(slurp-bytes x)

Slurp the bytes from a slurpable thing. Lifted from: http://stackoverflow.com/a/26372677/387927

Slurp the bytes from a slurpable thing.
Lifted from: http://stackoverflow.com/a/26372677/387927
sourceraw docstring

split-emit-output-streamclj

(split-emit-output-stream split-char emit-fn)
(split-emit-output-stream split-char emit-fn close-fn)

Creates a java.io.OutputStream that acculates bytes until the specified character is met or until close are called. When one of these events occur, it emits the accumulated bytes to the provided function. An additional function can optionally be provided to be called after the OutputStream has been closed.

Creates a java.io.OutputStream that acculates bytes until the specified character is met or until close are called.
When one of these events occur, it emits the accumulated bytes to the provided function. An additional function
can optionally be provided to be called after the OutputStream has been closed.
sourceraw docstring

string-bytes-sizeclj

(string-bytes-size string encoding)

Get the size of a string in bytes, for the provided encoding. Returns -1 if the encoding is unknown, and logs an error.

Get the size of a string in bytes, for the provided encoding.
Returns -1 if the encoding is unknown, and logs an error.
sourceraw docstring

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

× close