MsgpackCodec class

Inheritance

Constructors

MsgpackCodec({Encoding codec = utf8, ExtEncoder? extEncoder, ExtDecoder? extDecoder, bool copyBinaryData = false})
const

Properties

copyBinaryData bool
final
decoder Converter<Uint8List, dynamic>
Returns the decoder of this, converting from T to S.
no setteroverride
encoder Converter<dynamic, Uint8List>
Returns the encoder from S to T.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
inverted Codec<Uint8List, dynamic>
Inverts this.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(Uint8List encoded) → dynamic
Decodes encoded data.
inherited
encode(dynamic input) Uint8List
Encodes input.
inherited
fuse<R>(Codec<Uint8List, R> other) Codec<dynamic, R>
Fuses this with other.
inherited
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