Liking cljdoc? Tell your friends :D

alphabase.base16

Functions to encode and decode bytes as hexadecimal.

Functions to encode and decode bytes as hexadecimal.
raw docstring

byte->hexclj/s

(byte->hex value)

Converts a single byte value to a two-character hex string.

Converts a single byte value to a two-character hex string.
sourceraw docstring

decodeclj/s

(decode string)

Decode a byte array from a hexadecimal string. Handles both upper and lower case characters. Returns nil for nil or blank strings.

Decode a byte array from a hexadecimal string. Handles both upper and lower case
characters. Returns nil for nil or blank strings.
sourceraw docstring

encodeclj/s

(encode data)

Encode a byte array into a hexadecimal string. Returns nil for nil or empty data.

Encode a byte array into a hexadecimal string. Returns nil for nil or empty
data.
sourceraw docstring

hex->byteclj/s

(hex->byte hex)

Converts a two-character hex string into a byte value.

Converts a two-character hex string into a byte value.
sourceraw docstring

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

× close