MessagePackCodec class
Constructors
- MessagePackCodec.new({MessagePackDecodeOptions? decodeOptions, MessagePackEncodeOptions? encodeOptions})
Properties
-
decoder
→ Converter<
Uint8List, Object?> -
Returns the decoder of
this
, converting fromT
toS
.no setteroverride -
encoder
→ Converter<
Object?, Uint8List> -
Returns the encoder from
S
toT
.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
-
inverted
→ Codec<
Uint8List, Object?> -
Inverts
this
.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(
Uint8List source, [MessagePackDecodeOptions? options]) → Object? -
Decodes
encoded
data.override -
encode(
Object? obj, [MessagePackEncodeOptions? options]) → Uint8List -
Encodes
input
.override -
fuse<
R> (Codec< Uint8List, R> other) → Codec<Object?, R> -
Fuses
this
withother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register<
T> (MessagePackExtensionCodec< T> codec) → void -
toString(
) → String -
A string representation of this object.
inherited
-
unregister<
T> () → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited