From 7a39a44dbc97bd6d527992dad71a5c9f396d7716 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Sat, 26 Nov 2016 23:19:28 +0200 Subject: [PATCH] doc: remove a wrong remark in the buffer.md PR-URL: https://github.com/nodejs/node/pull/9795 Reviewed-By: Sam Roberts Reviewed-By: Roman Reiss Reviewed-By: Anna Henningsen --- doc/api/buffer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/buffer.md b/doc/api/buffer.md index ae0182aea5646b..0781eb38f7d2f8 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -1223,7 +1223,7 @@ added: v6.0.0 --> * `value` {String | Buffer | Integer} What to search for -* `byteOffset` {Integer} Where to begin searching in `buf` (not inclusive). +* `byteOffset` {Integer} Where to begin searching in `buf`. **Default:** [`buf.length`] * `encoding` {String} If `value` is a string, this is its encoding. **Default:** `'utf8'`