Browse Source

Fix ReadStream bufferSize docs

The default is 64kb buffer, not 4kb.

Closes GH-702.
v0.7.4-release
Felix Geisendörfer 14 years ago
committed by Ryan Dahl
parent
commit
2680522d3a
  1. 3
      doc/api/fs.markdown

3
doc/api/fs.markdown

@ -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…
Cancel
Save