Skip to content

Commit

Permalink
Fix ReadStream bufferSize docs
Browse files Browse the repository at this point in the history
The default is 64kb buffer, not 4kb.

Closes nodejsGH-702.
  • Loading branch information
felixge authored and ry committed Feb 24, 2011
1 parent 06ac129 commit 2680522
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/fs.markdown
Expand Up @@ -357,7 +357,8 @@ Returns a new ReadStream object (See `Readable Stream`).
encoding: null,
fd: null,
mode: 0666,
bufferSize: 4096 }
bufferSize: 64 * 1024
}

`options` can include `start` and `end` values to read a range of bytes from
the file instead of the entire file. Both `start` and `end` are inclusive and
Expand Down

0 comments on commit 2680522

Please sign in to comment.