From: Felix Geisendörfer Date: Sun, 20 Feb 2011 12:45:25 +0000 (+0100) Subject: Fix ReadStream bufferSize docs X-Git-Tag: v0.4.2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2680522d3a71fb5f12aa052555f3d04806338821;p=platform%2Fupstream%2Fnodejs.git Fix ReadStream bufferSize docs The default is 64kb buffer, not 4kb. Closes GH-702. --- diff --git a/doc/api/fs.markdown b/doc/api/fs.markdown index 18f12d9..437ba73 100644 --- a/doc/api/fs.markdown +++ b/doc/api/fs.markdown @@ -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