Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
updated documentation for fs.createReadStream
Browse files Browse the repository at this point in the history
Reviewed-By: James M Snell <[email protected]>
PR-URL: #25592
  • Loading branch information
skypjack authored and jasnell committed Jun 29, 2015
1 parent 386fd24 commit d2743cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/api/fs.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit d2743cb

Please sign in to comment.