decoder method
Returns a BytesReader implementation that will handle the deserialization
bytes
: The bytes to deserializefromEncodable
: An optional function to convert a json map into a object
Implementation
@override
BytesReader decoder(Uint8List bytes,
{dynamic Function(Map<String, dynamic>)? fromEncodable}) {
return MsgPackReader(bytes,
fromEncodable: fromEncodable, extensions: _extensions);
}