Skip to content

Commit 081eddd

Browse files
authored
Update README.md
1 parent 3904abd commit 081eddd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ abstract class RandomAccessSource {
4949

5050
Implementations:
5151

52-
- `BytesRASource` for `Uint8List`.
52+
- Use `BytesRASource` for `Uint8List`.
5353
- `BytesRASource(Uint8List bytes)`: creates a `BytesRASource` from the given `bytes`.
54-
- `FileRASource` for `RandomAccessFile` (`dart:io`) and `Blob` (`package:web`).
54+
- Use `FileRASource` for `File` (`dart:io`) and `Blob` (`package:web`).
5555
- `await FileRASource.open(path)`: Opens a `FileRASource` from a file path.
5656
- `await FileRASource.load(file)`: Loads a `FileRASource` from a `PlatformFile`.

0 commit comments

Comments
 (0)