0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00

Fix ReadStream bufferSize docs

The default is 64kb buffer, not 4kb.

Closes GH-702.
This commit is contained in:
Felix Geisendörfer 2011-02-20 13:45:25 +01:00 committed by Ryan Dahl
parent 06ac129903
commit 2680522d3a

View File

@ -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