Skip to content

Commit

Permalink
doc: fixup docs for fs.read
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Jul 6, 2020
1 parent ee3416b commit e7c7abe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2873,9 +2873,9 @@ changes:

Read data from the file specified by `fd`.

`buffer` is the buffer that the data (read from the fd) will be written to.
`buffer` is the buffer that the data (read from the fd) will be read from.

`offset` is the offset in the buffer to start writing at.
`offset` is the offset in the buffer to start reading from.

`length` is an integer specifying the number of bytes to read.

Expand Down

0 comments on commit e7c7abe

Please sign in to comment.