Wrappers on codecs from buddy library.
Wrappers on codecs from buddy library.
(base64->bin v)Takes an object, converts it to a string (unless it's already a string) which should be a Base64-encoded representation of data, and returns a decoded byte array.
Takes an object, converts it to a string (unless it's already a string) which should be a Base64-encoded representation of data, and returns a decoded byte array.
(base64->plaintext v)Takes an object, converts it to a string (unless it's already a string) which should be a Base64-encoded representation of data, and returns a plain-text string.
Takes an object, converts it to a string (unless it's already a string) which should be a Base64-encoded representation of data, and returns a plain-text string.
(base64-url-safe->bin v)Takes an object, converts it to a string (unless it's already a string) which should be a Base64-encoded, url-safe representation of data, and returns a decoded byte array.
Takes an object, converts it to a string (unless it's already a string) which should be a Base64-encoded, url-safe representation of data, and returns a decoded byte array.
(base64-url-safe->plaintext v)Takes an object, converts it to a string (unless it's already a string) which should be a Base64-encoded, url-safe representation of data, and returns a plain-text string.
Takes an object, converts it to a string (unless it's already a string) which should be a Base64-encoded, url-safe representation of data, and returns a plain-text string.
(bin->base64 v)Takes a byte array and returns its Base64-encoded representation.
Takes a byte array and returns its Base64-encoded representation.
(bin->base64-url-safe v)Takes a byte array and returns its Base64-encoded, url-safe representation.
Takes a byte array and returns its Base64-encoded, url-safe representation.
(bin->plaintext v)Takes a byte array and returns a string.
Takes a byte array and returns a string.
(plaintext->base64 v)Takes an object, converts it to a string (unless it's already a string), and returns a string (Base64-encoded representation, not url-safe).
Takes an object, converts it to a string (unless it's already a string), and returns a string (Base64-encoded representation, not url-safe).
(plaintext->base64-url-safe v)Takes an object, converts it to a string (unless it's already a string), and returns a string (Base64-encoded, url-safe representation).
Takes an object, converts it to a string (unless it's already a string), and returns a string (Base64-encoded, url-safe representation).
(plaintext->bin v)Takes an object, converts it to a string (unless it's already a string), and returns its byte-array representation.
Takes an object, converts it to a string (unless it's already a string), and returns its byte-array representation.
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 |