Multicodec class

Multicodec registry helpers for core IPLD and IPFS codecs.

See the multicodec table: https://github.com/multiformats/multicodec

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

supported List<String>
Returns a read-only view of the supported codec names.
no setter

Static Methods

code(String name) int
Returns the numeric multicodec code for name.
name(int code) String
Returns the canonical name for code.
supports(String name) bool
Returns true if name is a supported multicodec.
supportsByCode(int code) bool
Returns true if code is a supported multicodec code.