IPLDCodec class abstract
Interface for all IPLD codecs in dart_ipfs_core.
Codecs operate on plain Dart values: Map, List, Uint8List,
String, int, double, bool, and null.
Constructors
Properties
Methods
-
decode(
Uint8List data) → Future - Decodes bytes into a Dart value.
-
encode(
dynamic value) → Future< Uint8List> -
Encodes
valueinto bytes. -
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