Helper functions for the HTTP client.
Helper functions for the HTTP client.
(base64-encode unencoded)
Encode an array of unencoded
bytes into a base64 encoded string.
Encode an array of `unencoded` bytes into a base64 encoded string.
(deflate b)
Returns a deflate'd version byte array b
.
Returns a deflate'd version byte array `b`.
(gunzip b)
Returns a gunzip'd version of byte array b
.
Returns a gunzip'd version of byte array `b`.
(gzip b)
Returns a gzip'd version byte array b
.
Returns a gzip'd version byte array `b`.
(inflate b)
Returns a zlib inflate'd version byte array b
.
Returns a zlib inflate'd version byte array `b`.
(to-byte-array is)
Returns a byte array for InputStream is
.
Returns a byte array for InputStream `is`.
(url-decode encoded & [encoding])
Returns the form-url-decoded version of encoded
string, using either a
specified encoding
or UTF-8 by default.
Returns the form-url-decoded version of `encoded` string, using either a specified `encoding` or UTF-8 by default.
(url-encode unencoded)
Returns an UTF-8 URL encoded version of unencoded
string.
Returns an UTF-8 URL encoded version of `unencoded` string.
(utf8-bytes s)
Returns the UTF-8 bytes for string s
.
Returns the UTF-8 bytes for string `s`.
(utf8-string b)
Returns the string for UTF-8 decoding of bytes b
.
Returns the string for UTF-8 decoding of bytes `b`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close