Future<List<int>> readAsBytes( )

Read the entire file contents as a list of bytes. Returns a Future<List<int>> that completes with the list of bytes that is the contents of the file.

Source

/**
 * Read the entire file contents as a list of bytes. Returns a
 * [:Future<List<int>>:] that completes with the list of bytes that
 * is the contents of the file.
 */
Future<List<int>> readAsBytes();