| Index: sdk/lib/io/file.dart
|
| diff --git a/sdk/lib/io/file.dart b/sdk/lib/io/file.dart
|
| index 7937aa0b35a70c787f0c2376aaf34c41f8129247..bef2d686e2c78950db86371da4223ce84c16462e 100644
|
| --- a/sdk/lib/io/file.dart
|
| +++ b/sdk/lib/io/file.dart
|
| @@ -304,6 +304,17 @@ abstract class RandomAccessFile {
|
| int readByteSync();
|
|
|
| /**
|
| + * Reads from a file and returns the result as a list of bytes.
|
| + */
|
| + Future<List<int>> read(int bytes);
|
| +
|
| + /**
|
| + * Synchronously reads from a file and returns the result in a
|
| + * list of bytes.
|
| + */
|
| + List<int> readSync(int bytes);
|
| +
|
| + /**
|
| * Read a List<int> from the file. Returns a [:Future<int>:] that
|
| * completes with an indication of how much was read.
|
| */
|
|
|