API Reference multiformats v0.1.0

Modules

Documentation for Multiformats.

Handles encoding and decoding CIDs using the multiformats library.

Multibase is a protocol for disambiguating the "base encoding" used to express binary data in text formats, as specified by multiformats.

This module can be used to create custom "any base" encoding/decoding functions.

Delegates to Elixir's Base module.

Delegates to Elixir's Base module.

Delegates to Elixir's Base module.

Delegates to Elixir's Base module.

Delegates to Elixir's Base module.

The primary module for fetching multicodec metadata.

A behaviour that defines common operations for "codecs" within the multiformats ecosystem.

Handles encoding and decoding multihash binary data, as specified by multiformats.

The "identity" multihash algorithm is a no-op, meaning "do not hash the binary data."

The "sha2-256-trunc254-padded" multihash algorithm is a variant of SHA-256 that replaces the most significant 2 bits of the last byte with zeroes.

Mix Tasks