You should use the dart:typed_data
package to parse values from binary data.
Take a look especially at the ByteData
class which provides a view around your binary data (usually in form of a List<int>
or even better a Uint8List
and allows you to extract values from it:
ByteData API
For parsing Strings from binary data you should use the dart:convert
package: Dart Convert
You might especially be interested in Utf8Codec.decode()