Skip to content

Commit

Permalink
doc: remove wrong default value in buffer.md
Browse files Browse the repository at this point in the history
PR-URL: #19883
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
vsemozhetbyt committed Apr 9, 2018
1 parent 244af7a commit 0cd8359
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/api/buffer.md
Original file line number Diff line number Diff line change
@@ -2368,9 +2368,10 @@ changes:
-->

* `value` {integer} Number to be written to `buf`.
* `offset` {integer} Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - byteLength`.
* `byteLength` {integer} Number of bytes to write. Must satisfy: `0 < byteLength <= 6`.
**Default:** `false`.
* `offset` {integer} Number of bytes to skip before starting to write.
Must satisfy: `0 <= offset <= buf.length - byteLength`.
* `byteLength` {integer} Number of bytes to write. Must satisfy:
`0 < byteLength <= 6`.
* Returns: {integer} `offset` plus the number of bytes written.

Writes `byteLength` bytes of `value` to `buf` at the specified `offset`.

0 comments on commit 0cd8359

Please sign in to comment.