Liking cljdoc? Tell your friends :D

exoscale.itsdangerous.codec

Standard format coercers

Standard format coercers
raw docstring

b->b64clj

(b->b64 b)

Convert a byte array to URL encoded Base64. Padding ('=' chars) is stripped.

Convert a byte array to URL encoded Base64. Padding ('=' chars) is stripped.
sourceraw docstring

b64->bclj

(b64->b s)

Decodes an URL encoded string to a byte array.

Decodes an URL encoded string to a byte array.
sourceraw docstring

b64->intclj

(b64->int input)

Convert an URL encoded Base64 string to an integer.

Convert an URL encoded Base64 string to an integer.
sourceraw docstring

b64->sclj

(b64->s s)

Decodes an URL encoded string to a string.

Decodes an URL encoded string to a string.
sourceraw docstring

bit-shiftsclj

Bit shifts for integer conversions

Bit shifts for integer conversions
sourceraw docstring

bytes->intclj

(bytes->int input)

Get back a 32-bit integer from a 4-wide byte-array

Get back a 32-bit integer from a 4-wide byte-array
sourceraw docstring

int->b64clj

(int->b64 input)

Convert an integer to an URL encoded Base64 string.

Convert an integer to an URL encoded Base64 string.
sourceraw docstring

int->bytesclj

(int->bytes input)

Convert an integer to a 4-wide byte array. This is used to store timestamps in ItsDangerous tokens. Since timestamps are 32-bit wide and represent seconds since the UNIX epoch, please consider another solution if you want sessions that last beyond 2038.

Convert an integer to a 4-wide byte array. This is
used to store timestamps in ItsDangerous tokens. Since
timestamps are 32-bit wide and represent seconds since
the UNIX epoch, please consider another solution
if you want sessions that last beyond 2038.
sourceraw docstring

s->b64clj

(s->b64 s)

Convert a string to URL encoded Base64.

Convert a string to URL encoded Base64.
sourceraw docstring

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

× close