Liking cljdoc? Tell your friends :D

flake.utils


base62-encodeclj

Encodes a given value into a base62 representation.

Encodes a given value into a base62 representation.
sourceraw docstring

byte-bufferclj

(byte-buffer size)
source

encodeclj

(encode ks n)

Encodes n in a new base of ks.

Encodes n in a new base of ks.
sourceraw docstring

epochclj

(epoch)

Returns the delta between the Unix time in milliseconds and nanoTime.

Returns the delta between the Unix time in milliseconds and nanoTime.
sourceraw docstring

epoch-meanclj

(epoch-mean n)

Takes N samples of epoch and returns the mean.

Takes N samples of epoch and returns the mean.
sourceraw docstring

get-hardware-addressesclj

(get-hardware-addresses)

Returns a sequence of hardware addresses (generally MACs) formatted as byte arrays which have been filtered such that they do not contain nil or 0.0.0.0.0.0.

Returns a sequence of hardware addresses (generally MACs) formatted as byte
arrays which have been filtered such that they do not contain nil or
`0.0.0.0.0.0`.
sourceraw docstring

nowclj

(now)

Returns the current Unix time in milliseconds.

Returns the current Unix time in milliseconds.
sourceraw docstring

now-from-epochclj

(now-from-epoch e)

Returns the estimated current time in milliseconds from epoch.

Returns the estimated current time in milliseconds from epoch.
sourceraw docstring

one-millionclj

source

with-timeoutcljmacro

(with-timeout timeout-ms body)

Attempts to execute a given body in a future until the given timeout-ms has elapsed. Returns the result or throws java.util.concurrent.TimeoutException.

Attempts to execute a given body in a future until the given timeout-ms has
elapsed. Returns the result or throws java.util.concurrent.TimeoutException.
sourceraw docstring

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

× close