Liking cljdoc? Tell your friends :D

multiformats.address.codec

Internal namespace for parsing/formatting multiaddr formats

Internal namespace for parsing/formatting multiaddr formats
raw docstring

Codecclj/sprotocol

Convert multiaddr protocol values between human-readable string and machine-readable bytes

Convert multiaddr protocol values between
human-readable string and machine-readable bytes

bytes->strclj/s

(bytes->str this data)

convert machine representation slice to readable value

convert machine representation slice to readable value

fixed-byte-lengthclj/s

(fixed-byte-length this)

returns fixed length byte length of protocol (if exists), including 0 for no value protocols. Can also return nil if length is variable int encoded

returns fixed length byte length of protocol (if exists),
including 0 for no value protocols. Can also return `nil`
if length is variable int encoded

str->bytesclj/s

(str->bytes this value)

convert readable value to packed representation

convert readable value to packed representation
raw docstring

ip4-codecclj/s


ip6-codecclj/s


no-value-codecclj/s


ushort-codecclj/s


utf8-codecclj/s

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

× close