decodeBinaryValue method
- @protected
Returns a value decoded from the provided binary value
bytes
: The list of bytesfromEncodable
: An function that converts between the Map representation and the object
Returns decoded value from the provided binary value
Implementation
@protected
dynamic decodeBinaryValue(
Uint8List bytes, dynamic Function(Map<String, dynamic>)? fromEncodable) {
final reader =
codec.decoder(Uint8List.fromList(bytes), fromEncodable: fromEncodable);
return reader.read();
}