Liking cljdoc? Tell your friends :D

multiformats.codec

Multicodec is a multiformat which wraps other formats with a tiny bit of self-description. A multicodec identifier may either be a varint (in a byte string) or a character (in a text string).

https://github.com/multiformats/multicodec

Multicodec is a multiformat which wraps other formats with a tiny bit of
self-description. A multicodec identifier may either be a varint (in a byte
string) or a character (in a text string).

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

code->keyclj/s

Map of compact code values to codec keys.

Map of compact code values to codec keys.
sourceraw docstring

ipld-codesclj/s

Structured data formats used in IPLD and other systems.

Structured data formats used in IPLD and other systems.
sourceraw docstring

key->codeclj/s

Map of codec keys to compact code values.

Map of codec keys to compact code values.
sourceraw docstring

miscellaneous-codesclj/s

Miscellaneous codes.

Miscellaneous codes.
sourceraw docstring

multiformat-codesclj/s

Generic codes to indicate which multiformat a value represents.

Generic codes to indicate which multiformat a value represents.
sourceraw docstring

register!clj/s

(register! codec-key code)

Register a new codec keyword and numeric code pair.

Register a new codec keyword and numeric code pair.
sourceraw docstring

resolve-codeclj/s

(resolve-code codec)

Resolve a keyword to a numeric code, or throws an exception on invalid input.

Resolve a keyword to a numeric code, or throws an exception on invalid
input.
sourceraw docstring

resolve-keyclj/s

(resolve-key codec)

Resolve a codec to a keyword name or falls back to a numeric code, or throws an exception on invalid input.

Resolve a codec to a keyword name or falls back to a numeric code, or throws
an exception on invalid input.
sourceraw docstring

serialization-codesclj/s

General-purpose serialization formats.

General-purpose serialization formats.
sourceraw docstring

unregister!clj/s

(unregister! codec-key)

Remove the registration for an existing codec key. Does not throw an error if the key is not registered already.

Remove the registration for an existing codec key. Does not throw an error
if the key is not registered already.
sourceraw docstring

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

× close