Files
node/doc/api
Harshitha KP 0f1f572d28 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-11 10:06:03 +02:00
..
2020-03-03 09:03:33 -08:00
2020-03-24 02:55:10 -04:00
2020-03-30 19:18:27 +02:00
2020-02-27 08:46:46 -08:00
2019-12-01 10:26:44 +01:00
2019-10-03 15:21:26 -07:00
2020-03-11 21:31:27 -04:00
2020-03-30 19:18:20 +02:00
2020-03-03 15:32:19 -08:00
2019-10-28 07:08:05 +01:00
2020-03-09 18:59:05 -04:00
2020-03-26 14:49:44 -04:00
2020-03-25 17:04:44 -04:00
2020-03-09 19:02:21 -04:00
2020-02-27 10:18:54 -08:00