Liking cljdoc? Tell your friends :D

pandect.utils.convert


ByteArrayConvertablecljprotocol

Protocol for Entities that can be converted to byte arrays.

Protocol for Entities that can be converted to byte arrays.

convert-to-byte-arrayclj

(convert-to-byte-array this)
sourceraw docstring

bytes->hexclj

(bytes->hex data)

Convert Byte Array to Hex String

Convert Byte Array to Hex String
sourceraw docstring

hex->bytesclj

(hex->bytes data)

Convert Hex String to Byte Array

Convert Hex String to Byte Array
sourceraw docstring

long->4-bytescljmacro

(long->4-bytes v)

Convert an unsigned 32-bit integer (given as long) to a 4-byte array.

Convert an unsigned 32-bit integer (given as long) to a 4-byte array.
sourceraw docstring

long->hexclj

(long->hex b)

Convert an unsigned 32-bit integer (given as long) to a 8-char hexstring.

Convert an unsigned 32-bit integer (given as long) to a 8-char hexstring.
sourceraw docstring

PublicKeyConvertablecljprotocol

Protocol for entities that can be converted to public keys.

Protocol for entities that can be converted to public keys.

convert-to-public-keyclj

(convert-to-public-key _)

Convert value to java.security.PublicKey.

Convert value to `java.security.PublicKey`.
sourceraw docstring

slurp-bytesclj

(slurp-bytes source)

Get bytes from the given source.

Get bytes from the given source.
sourceraw docstring

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

× close