mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 15:06:33 +01:00
Fix ReadStream bufferSize docs
The default is 64kb buffer, not 4kb. Closes GH-702.
This commit is contained in:
parent
06ac129903
commit
2680522d3a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user