Liking cljdoc? Tell your friends :D

buddy.core.codecs

Util functions for make conversion between string, bytes and encode them to base64 ot hex format.

Util functions for make conversion between string, bytes
and encode them to base64 ot hex format.
raw docstring

b64->bytesclj

(b64->bytes data)

Decode base64 bytes array.

Decode base64 bytes array.
raw docstring

b64u->bytesclj

(b64u->bytes data)

Decode base64 bytes array (using url-safe variant).

Decode base64 bytes array (using url-safe variant).
raw docstring

bytes->b64clj

(bytes->b64 data)

Encode data to base64 byte array (using standard variant).

Encode data to base64 byte array (using standard variant).
raw docstring

bytes->b64uclj

(bytes->b64u data)

Encode data to base64 byte array (using url-safe variant).

Encode data to base64 byte array (using url-safe variant).
raw docstring

bytes->hexclj

(bytes->hex data)

Convert a byte array to hex encoded string.

Convert a byte array to hex encoded string.
raw docstring

bytes->longclj

(bytes->long input)

bytes->strclj

(bytes->str data)
(bytes->str data encoding)

Convert byte array to String.

Convert byte array to String.
raw docstring

hex->bytesclj

(hex->bytes data)

Convert hexadecimal encoded string to bytes array.

Convert hexadecimal encoded string to bytes array.
raw docstring

IByteArraycljprotocol

Facility for convert input parameters to bytes array with default implementation for string an bytes array itself.

Facility for convert input parameters
to bytes array with default implementation
for string an bytes array itself.

-to-bytesclj

(-to-bytes this)

Represent this as byte array.

Represent this as byte array.
raw docstring

long->bytesclj

(long->bytes input)

str->bytesclj

(str->bytes s)
(str->bytes s encoding)

Convert string to byte array.

Convert string to byte array.
raw docstring

to-bytesclj

(to-bytes v)

Encode as bytes.

Encode as bytes.
raw docstring

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

× close