Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 : nodejs#32104 (comment)
- Loading branch information