api.dart.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. Learn more.
Reads the entire file contents as a list of bytes.
Returns a Future<Uint8List> that completes with the list of bytes that is the contents of the file.
Future<Uint8List>
Future<Uint8List> readAsBytes();