Skip to content

Commit

Permalink
doc: fix nonsensical grammar in Buffer::write
Browse files Browse the repository at this point in the history
PR-URL: nodejs#4863
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
Jimbly authored and benjamingr committed Jan 27, 2016
1 parent 25c4f98 commit 1348386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/buffer.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ When undefined, `offset` defaults to `0`, and `encoding` defaults to `'utf8'`.
The `length` parameter is the number of bytes to write, when undefined `length`
defaults to `buffer.length - offset`. If the Buffer did not contain enough
space to fit the entire string, only a partial amount of the string will be
written however, the will not write only partially encoded characters. The
written however, it will not write only partially encoded characters. The
return value indicates the number of octets written.

```js
Expand Down

0 comments on commit 1348386

Please sign in to comment.