Files
node/doc/api
Harshitha KP d03d9a05f0 doc: clarify length param in buffer.write
`buffer.write` documentation has an incaccuracy w.r.t the `length`
parameter: It says default number of bytes written is
`buf.length - offset`. Change it to:
If the buffer has sufficient space from the offset, the string is
written upto `length`.
If the buffer is short in space, only `buf.length - offset` bytes are
written.

Refs: https://github.com/nodejs/node/pull/32104#discussion_r388524733

PR-URL: https://github.com/nodejs/node/pull/32119
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2020-04-05 20:36:24 +02:00
..
2020-03-02 04:07:33 +00:00
2020-03-18 10:22:42 -07:00
2020-03-30 09:35:21 +02:00
2020-02-16 16:58:39 +01:00
2020-03-12 20:43:34 -04:00
2020-03-29 22:43:53 +02:00
2020-03-04 09:53:11 -08:00
2020-03-05 22:25:42 -08:00
2020-03-26 18:49:28 -04:00
2020-03-24 10:24:37 -07:00
2020-03-08 11:05:23 -04:00
2020-02-26 16:56:16 -08:00