Skip to content

Commit

Permalink
doc: fix a wrong note in the buffer.md
Browse files Browse the repository at this point in the history
PR-URL: #9795
Reviewed-By: Sam Roberts <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
vsemozhetbyt authored and addaleax committed Dec 8, 2016
1 parent d4c73d4 commit bc64a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ added: v6.0.0

* `value` {String | Buffer | Integer} What to search for
* `byteOffset` {Integer} Where to begin searching in `buf`.
**Default:** [`buf.length`]
**Default:** [`buf.length`]` - 1`
* `encoding` {String} If `value` is a string, this is its encoding.
**Default:** `'utf8'`
* Returns: {Integer} The index of the last occurrence of `value` in `buf` or `-1`
Expand Down

0 comments on commit bc64a63

Please sign in to comment.