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/s≠protocol

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

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

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

bytes->strclj/s

(bytes->str this data)

convert machine representation slice to readable value

convert machine representation slice to readable value
sourceraw docstring

ip4-codecclj/s

source

ip6-codecclj/s

source

IPAddressCodeccljs

source

no-value-codecclj/s

source

UnsignedNumTranscodercljs

source

ushort-codecclj/s

source

utf8-codecclj/s

source

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

× close