Liking cljdoc? Tell your friends :D

multiformats.base

Multibase is a protocol for distinguishing base encodings and other simple string encodings, and for ensuring full compatibility with program interfaces.

https://github.com/multiformats/multibase

Multibase is a protocol for distinguishing base encodings and other simple
string encodings, and for ensuring full compatibility with program
interfaces.

https://github.com/multiformats/multibase
raw docstring

basesclj/s

Map of base keys to definition maps.

Map of base keys to definition maps.
sourceraw docstring

codesclj/s

Map of base keys to multicodec packed symbols from the standard table.

Map of base keys to multicodec packed symbols from the standard table.
sourceraw docstring

formatclj/s

(format base-key data)

Formats binary data into a string with the given base. Returns the formatted string, prefixed with the base constant.

Formats binary data into a string with the given base. Returns the formatted
string, prefixed with the base constant.
sourceraw docstring

format*clj/s

(format* base-key data)

Formats binary data into a string with the given base. Returns the formatted string without a prefix.

Formats binary data into a string with the given base. Returns the formatted
string without a prefix.
sourceraw docstring

inspectclj/s

(inspect string)

Inspect a string and return a map of information including the prefix character, base key, and parsed data.

Inspect a string and return a map of information including the prefix
character, base key, and parsed data.
sourceraw docstring

parseclj/s

(parse string)

Parses a multibase-prefixed string into binary data. Returns an array with the parsed bytes, or throws an error if there is no known base.

Parses a multibase-prefixed string into binary data. Returns an array with
the parsed bytes, or throws an error if there is no known base.
sourceraw docstring

parse*clj/s

(parse* base-key string)

Parse a non-prefixed string into binary data using the given base. Returns the decoded byte array.

Parse a non-prefixed string into binary data using the given base. Returns
the decoded byte array.
sourceraw docstring

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

× close