From 2680522d3a71fb5f12aa052555f3d04806338821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisendo=CC=88rfer?= Date: Sun, 20 Feb 2011 13:45:25 +0100 Subject: [PATCH] Fix ReadStream bufferSize docs The default is 64kb buffer, not 4kb. Closes GH-702. --- doc/api/fs.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/fs.markdown b/doc/api/fs.markdown index 18f12d9584..437ba732f8 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