MsgPackReader constructor
MsgPackReader(
- Uint8List list, {
- MsgPackReaderMode mode = MsgPackReaderMode.standard,
- dynamic fromEncodable()?,
- List<
MsgPackExtension> ? extensions,
Builds a MsgPackReader deserializer
list
: The Uint8List byte buffer to read the object fromfromEncodable
: A custom function the converts the deserializedMap<String, dynamic>
representation of the object into the objectextensions
: A optional list of extensions to use
Implementation
MsgPackReader(super.list,
{this.mode = MsgPackReaderMode.standard,
dynamic Function(Map<String, dynamic>)? fromEncodable,
List<MsgPackExtension>? extensions})
: _fromEncodable = fromEncodable ?? _defaultFromEncodable,
_extensions = [const DateTimeExtension(), ...?extensions];