updated documentation for fs.createReadStream

Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/joyent/node/pull/25591
This commit is contained in:
Michele Caini authored and James M Snell committed 2015-08-03 20:44:40 -07:00
1 parent 5ccb429ee8
commit 59c67fe3cd
1 file changed
+4
+4
View File
@@ -775,6 +775,10 @@ on Unix systems, it never was.
Returns a new ReadStream object (See `Readable Stream`).
Be aware that, unlike the default value set for `highWaterMark` on a
readable stream (16kB), the stream returned by this method has a
default value of 64kB for the same parameter.
`options` is an object with the following defaults:
{ flags: 'r',