Skip to content

Commit 59c67fe

Browse files
skypjackjasnell
authored andcommitted
updated documentation for fs.createReadStream
Reviewed-By: James M Snell <[email protected]> PR-URL: nodejs/node-v0.x-archive#25591
1 parent 5ccb429 commit 59c67fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: doc/api/fs.markdown

+4
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,10 @@ on Unix systems, it never was.
775775

776776
Returns a new ReadStream object (See `Readable Stream`).
777777

778+
Be aware that, unlike the default value set for `highWaterMark` on a
779+
readable stream (16kB), the stream returned by this method has a
780+
default value of 64kB for the same parameter.
781+
778782
`options` is an object with the following defaults:
779783

780784
{ flags: 'r',

0 commit comments

Comments
 (0)