From 73e40f0327f16a975ec9e905eec93fc6a74ba395 Mon Sep 17 00:00:00 2001 From: fansworld-claudio Date: Tue, 13 Oct 2015 16:15:06 -0300 Subject: [PATCH] docs: fs - change links to buffer encoding to Buffer class anchor PR-URL: https://github.com/nodejs/node/pull/2796 Reviewed-By: Trevor Norris Reviewed-By: Roman Reiss Reviewed-By: James M Snell --- doc/api/fs.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/api/fs.markdown b/doc/api/fs.markdown index bb8060e355a81b..801f3bbe0ea320 100644 --- a/doc/api/fs.markdown +++ b/doc/api/fs.markdown @@ -828,7 +828,7 @@ default value of 64 kb for the same parameter. `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 -start at 0. The `encoding` can be any one of those accepted by [Buffer](buffer.html). +start at 0. The `encoding` can be any one of those accepted by [Buffer][]. If `fd` is specified, `ReadStream` will ignore the `path` argument and will use the specified file descriptor. This means that no `open` event will be emitted. @@ -873,7 +873,7 @@ Returns a new WriteStream object (See `Writable Stream`). `options` may also include a `start` option to allow writing data at some position past the beginning of the file. Modifying a file rather than replacing it may require a `flags` mode of `r+` rather than the -default mode `w`. The `defaultEncoding` can be any one of those accepted by [Buffer](buffer.html). +default mode `w`. The `defaultEncoding` can be any one of those accepted by [Buffer][]. Like `ReadStream` above, if `fd` is specified, `WriteStream` will ignore the `path` argument and will use the specified file descriptor. This means that no @@ -923,3 +923,4 @@ Emitted when an error occurs. [fs.access]: #fs_fs_access_path_mode_callback [fs.statSync]: #fs_fs_statsync_path [fs.accessSync]: #fs_fs_accesssync_path_mode +[Buffer]: buffer.html#buffer_buffer \ No newline at end of file