Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup: address review comment
  • Loading branch information
HarshithaKP committed Mar 14, 2020
commit 28d0f9b2a5a5d1aa4cc962b919bc1a856bf983ee
4 changes: 2 additions & 2 deletions doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -1996,8 +1996,8 @@ added: v0.1.90
**Default:** `0`.
* `length` {integer} Maximum number of bytes to write (written bytes will not
exceed `buf.length - offset`). **Default:** `buf.length - offset`.
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`
If the buffer has sufficient space from the offset, the string is written
up to `length`. If the buffer is short in space, only `buf.length - offset`
bytes are written.
* `encoding` {string} The character encoding of `string`. **Default:** `'utf8'`.
* Returns: {integer} Number of bytes written.
Expand Down