Codec class abstract interface

Codec encodes/decodes objects (typically generated from a schema) to and from bytes.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Name of the Codec.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(Uint8List data, Object message) → void
encode(Object message) Uint8List
Encode encodes the given message.
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