Liking cljdoc? Tell your friends :D

mkyle.ulid


*random-bytes*clj/s


after?clj/smultimethod

Return true iff ULID timestamp is after argument. otherwise false

Return true iff ULID timestamp is after argument. otherwise false
raw docstring

as-integerclj/s

(as-integer ulid)

Get the 128bit big integer that represents this ulid

Get the 128bit big integer that represents this ulid
raw docstring

as-uuidclj/s

(as-uuid ulid)

Get the ULID represented as a psuedo-UUID for library and database interop.

Get the ULID represented as a psuedo-UUID for library and database interop.
raw docstring

base32-decodeclj/s

(base32-decode s)

Decode string to integer with Crockford's Base32

Decode string to integer with Crockford's Base32
raw docstring

base32-encodeclj/s

(base32-encode n length)

Encode integer with Crockford's Base32

Encode integer with Crockford's Base32
raw docstring

before?clj/smultimethod

Return true iff ULID timestamp is before argument. otherwise false

Return true iff ULID timestamp is before argument. otherwise false
raw docstring

compareclj/s

(compare a b)

Compare function for ULIDs

Compare function for ULIDs
raw docstring

createclj/s

(create)
(create time)
(create time random-bytes-generator)

Create a new ulid.

Create a new ulid.
raw docstring

from-uuidclj/smultimethod

Construct a ULID from it's pseudo-UUID repesentation

Construct a ULID from it's pseudo-UUID repesentation
raw docstring

generatorclj/s

(generator)
(generator initial-ulid)

Create a stateful, thread-safe monotonic ulid generator

Create a stateful, thread-safe monotonic ulid generator
raw docstring

maximumclj/s


maximum-valueclj/s


minimumclj/s


minimum-valueclj/s


nextclj/s

(next ulid)
(next ulid time)
(next ulid time random-bytes-generator)

Get the next ulid with monotonic incrementation.

Get the next ulid with monotonic incrementation.
raw docstring

randomclj/s

(random ulid)

Get the random portion of this ulid

Get the random portion of this ulid
raw docstring

random-bitsclj/s


random-bytesclj/s


random-maskclj/s


readclj/smultimethod

Read ulid value. ei. from string representation.

Read ulid value.
ei. from string representation.
raw docstring

secure-random-bytesclj/s

(secure-random-bytes size)

Returns a random byte sequence of the specified size.

Returns a random byte sequence of the specified size.
raw docstring

stringclj/s

(string ulid)

Get the string representation of this ulid

Get the string representation  of this ulid
raw docstring

time-bytesclj/s


time-maskclj/s


timestampclj/s

(timestamp ulid)

Get the timestamp portion from the ulid

Get the timestamp portion from the ulid
raw docstring

ulid-string-lengthclj/s

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

× close