0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc
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
..
api doc: clarify length param in buffer.write 2020-04-05 20:36:24 +02:00
api_assets doc: prevent tables from shrinking page 2020-03-11 16:59:16 +01:00
changelogs 2020-03-26 Version 13.12.0 (Current) 2020-03-26 18:49:28 -04:00
guides doc: fix wordy sentence 2020-04-03 01:31:07 +02:00
.eslintrc.yaml
abi_version_registry.json src: update NODE_MODULE_VERSION to 83 2020-03-18 16:23:27 -07:00
first_timer_badge.png
full-white-stripe.jpg
node.1 http: increase default header size from 8KB to 16KB 2020-03-29 22:38:57 +02:00
osx_installer_logo.png
template.html doc: specify display=fallback for Google Fonts 2019-09-26 22:46:34 -07:00
thin-white-stripe.jpg