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).
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
Map of compact code values to codec keys.
Map of compact code values to codec keys.
Structured data formats used in IPLD and other systems.
Structured data formats used in IPLD and other systems.
Map of codec keys to compact code values.
Map of codec keys to compact code values.
Generic codes to indicate which multiformat a value represents.
Generic codes to indicate which multiformat a value represents.
(register! codec-key code)
Register a new codec keyword and numeric code pair.
Register a new codec keyword and numeric code pair.
(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.
(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.
General-purpose serialization formats.
General-purpose serialization formats.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close