Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixed a typo
  • Loading branch information
lidel authored Apr 24, 2019
1 parent a942a23 commit 9f0ed39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const range = Ammo.header('bytes=1-5,7-10', 10);
// streams (get range within a `source`)
const range = Ammo.header('bytes=1000-4000', 5000);
const stream = new Ammo.Stream(range[0]);
const buffer = async Wreck.read(source.pipe(stream));
const buffer = await Wreck.read(source.pipe(stream));

// buffer is the portion of source within range
```
Expand Down

0 comments on commit 9f0ed39

Please sign in to comment.