Browse Source

doc: remove a wrong remark in the buffer.md

PR-URL: https://github.com/nodejs/node/pull/9795
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
v6.x
Vse Mozhet Byt 8 years ago
committed by Myles Borins
parent
commit
020c90eb2d
No known key found for this signature in database GPG Key ID: 933B01F40B5CA946
  1. 2
      doc/api/buffer.md

2
doc/api/buffer.md

@ -1225,7 +1225,7 @@ added: v6.0.0
--> -->
* `value` {String | Buffer | Integer} What to search for * `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`] **Default:** [`buf.length`]
* `encoding` {String} If `value` is a string, this is its encoding. * `encoding` {String} If `value` is a string, this is its encoding.
**Default:** `'utf8'` **Default:** `'utf8'`

Loading…
Cancel
Save