MessagePackCodec class
Constructors
- MessagePackCodec({MessagePackDecodeOptions? decodeOptions, MessagePackEncodeOptions? encodeOptions})
Properties
-
decoder
→ Converter<
Uint8List, Object?> -
Returns the decoder of
this, converting fromTtoS.no setteroverride -
encoder
→ Converter<
Object?, Uint8List> -
Returns the encoder from
StoT.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
encodeddata.override -
encode(
Object? obj, [MessagePackEncodeOptions? options]) → Uint8List -
Encodes
input.override -
fuse<
R> (Codec< Uint8List, R> other) → Codec<Object?, R> -
Fuses
thiswithother.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