Multiformats.Multihash.Identity (multiformats_ex v0.2.0)

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

Summary

Functions

Decodes binary data using the default set of options.

Not implemented.

Decodes binary data using the default set of options, raising an error if the decoding fails.

Not implemented.

Encodes binary data using the default set of options.

Returns the data unchanged.

Functions

decode(data)

Decodes binary data using the default set of options.

decode(data, opts)

Not implemented.

decode!(data)

Decodes binary data using the default set of options, raising an error if the decoding fails.

decode!(data, opts)

Not implemented.

encode(data)

Encodes binary data using the default set of options.

encode(data, _)

Returns the data unchanged.