Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

update fs.createReadStream() and fs.createWriteStream() #19

Open
wants to merge 1 commit into from

1 participant

@ralphtheninja

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 15, 2012
  1. add createReadStream() and createWriteStream()

    Lars-Magnus Skog authored
This page is out of date. Refresh to see the latest.
Showing with 8 additions and 2 deletions.
  1. +8 −2 readme.markdown
View
10 readme.markdown
@@ -421,9 +421,15 @@ This writable stream contains the standard system error stream for your program.
## fs
-### fs.createReadStream()
+### [fs.createReadStream()](http://nodejs.org/api/fs.html#fs_fs_createreadstream_path_options)
-### fs.createWriteStream()
+This function returns a readable stream from a file descriptor (e.g. a file or pipe). You can configure the stream to
+use different encodings and read parts of the file by setting start and end offsets.
+
+### [fs.createWriteStream()](http://nodejs.org/api/fs.html#fs_fs_createwritestream_path_options)
+
+This function returns a writable stream to a file descriptor. There are similar options if you want to append
+to a file rather than overwrite it etc.
## net
Something went wrong with that request. Please try again.