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: #4863
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
  • Loading branch information
Jimbly authored and Myles Borins committed Feb 22, 2016
1 parent 588e7e2 commit 13622de
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 13622de

Please sign in to comment.