mirror of https://github.com/nodejs/node.git
doc: fix nonsensical grammar in Buffer::write
PR-URL: https://github.com/nodejs/node/pull/4863 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>pull/4863/merge
parent
321162df71
commit
58086423f9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue