mirror of https://github.com/nodejs/node.git
Fix ReadStream bufferSize docs
The default is 64kb buffer, not 4kb. Closes GH-702.v0.7.4-release
parent
06ac129903
commit
2680522d3a
|
@ -357,7 +357,8 @@ Returns a new ReadStream object (See `Readable Stream`).
|
||||||
encoding: null,
|
encoding: null,
|
||||||
fd: null,
|
fd: null,
|
||||||
mode: 0666,
|
mode: 0666,
|
||||||
bufferSize: 4096 }
|
bufferSize: 64 * 1024
|
||||||
|
}
|
||||||
|
|
||||||
`options` can include `start` and `end` values to read a range of bytes from
|
`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
|
the file instead of the entire file. Both `start` and `end` are inclusive and
|
||||||
|
|
Loading…
Reference in New Issue