Files
node/doc/api
Harshitha KP b4ba9b8bef 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-22 19:38:46 +02:00
..
2020-04-07 20:35:33 -07:00
2020-04-07 20:35:33 -07:00
2020-02-06 02:49:08 +00:00
2020-04-22 18:24:55 +02:00
2020-03-30 11:00:19 -07:00
2020-04-22 19:21:29 +02:00
2020-04-20 22:06:28 +02:00
2020-03-30 10:59:50 -07:00
2020-02-06 02:49:25 +00:00
2020-03-16 19:41:41 -07:00
2020-04-22 18:34:45 +02:00
2019-11-11 10:24:53 +01:00
2020-04-07 20:35:33 -07:00
2019-11-11 10:24:53 +01:00
2020-04-07 20:35:33 -07:00
2020-04-22 18:24:54 +02:00
2020-03-30 11:00:16 -07:00