Standard format coercers
Standard format coercers
(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.
(b64->b s)Decodes an URL encoded string to a byte array.
Decodes an URL encoded string to a byte array.
(b64->int input)Convert a URL encoded Base64 string to an integer.
Convert a URL encoded Base64 string to an integer.
(b64->s s)Decodes an URL encoded string to a string.
Decodes an URL encoded string to a string.
(bytes->int input)Get back a 64-bit integer from a variable-length byte-array. Right-justifies to 8 bytes (matching Python's bytes_to_int).
Get back a 64-bit integer from a variable-length byte-array. Right-justifies to 8 bytes (matching Python's bytes_to_int).
(int->b64 input)Convert an integer to a URL encoded Base64 string.
Convert an integer to a URL encoded Base64 string.
(int->bytes input)Convert an integer to a variable-length big-endian byte array. Leading zeros are stripped (matching Python's int_to_bytes).
Convert an integer to a variable-length big-endian byte array. Leading zeros are stripped (matching Python's int_to_bytes).
(s->b64 s)Convert a string to URL encoded Base64.
Convert a string to URL encoded Base64.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |