node/doc/api
Anna Henningsen a7105a8db3
test,doc: clarify buf.indexOf(num) input range
Hopefully clarify the behaviour of `buffer.indexOf()` and
`buffer.includes()` for numbers in that they will be
truncated to uint8s.

Add tests for that behaviour.

Fixes: https://github.com/nodejs/node/issues/7591
PR-URL: https://github.com/nodejs/node/pull/7611
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2016-07-13 21:03:42 +02:00
..
_toc.md doc: subdivide TOC, add auxiliary links 2016-04-29 13:27:18 -04:00
addons.md doc: fixing minor typo in AtExit hooks section 2016-06-30 07:34:56 +02:00
all.md doc: git mv to .md 2016-04-20 16:34:27 -07:00
assert.md doc: add added: information for assert 2016-05-13 09:49:05 -07:00
buffer.md test,doc: clarify buf.indexOf(num) input range 2016-07-13 21:03:42 +02:00
child_process.md doc: fix detached child stdio example 2016-07-06 11:59:21 -04:00
cli.md doc: add added: data for cli.md 2016-05-26 21:02:54 -07:00
cluster.md doc: fix cluster worker 'message' event 2016-06-17 14:55:08 -04:00
console.md doc: improved syntax consistency in console.md 2016-06-06 09:07:33 -07:00
crypto.md doc: fix "sign.verify" typo in crypto doc. 2016-06-27 08:43:35 -07:00
debugger.md src,lib: v8-inspector support 2016-05-30 09:05:46 -07:00
dgram.md doc,dgram: fix addMembership documentation 2016-07-10 17:56:50 +02:00
dns.md doc: dns.resolve fix callback argument description 2016-07-11 19:59:56 +02:00
documentation.md doc: "a" -> "an" in api/documentation.md 2016-05-11 11:17:29 -04:00
domain.md doc: git mv to .md 2016-04-20 16:34:27 -07:00
errors.md doc: fix typo in Error.captureStackTrace 2016-05-20 08:32:04 -07:00
events.md doc: fix events typo 2016-06-17 13:25:28 -04:00
fs.md doc: correct added: information for fs.access 2016-06-18 21:15:52 +02:00
globals.md doc: general improvements to timers.md 2016-06-28 07:39:31 -07:00
http.md doc: fix minor style issues in http.md 2016-07-06 22:11:31 -07:00
https.md doc: fix broken refs to url.parse() in http docs 2016-06-29 04:07:28 +02:00
index.md doc: git mv to .md 2016-04-20 16:34:27 -07:00
modules.md doc: mention existence/purpose of module wrapper 2016-05-10 06:48:36 -05:00
net.md doc: add argument information for socket.destroy() 2016-06-21 21:07:18 -07:00
os.md doc: general improvements to os.md copy 2016-06-21 11:17:05 -07:00
path.md doc: general improvements to path.md copy 2016-06-11 17:20:57 -07:00
process.md doc: fix documentation of process.argv 2016-07-04 16:49:01 +02:00
punycode.md doc: general improvements to punycode.md copy 2016-06-02 16:35:56 -07:00
querystring.md doc: general improvements to querystring.md copy 2016-06-06 08:35:19 -07:00
readline.md readline: allow passing prompt to constructor 2016-06-25 12:10:28 -05:00
repl.md repl: add support for custom completions 2016-07-08 16:47:05 -04:00
stream.md doc: fix link in the stream doc 2016-06-23 22:14:03 +02:00
string_decoder.md doc: addresses nits in string_decoder, url, util 2016-05-31 10:28:14 -04:00
synopsis.md doc: use Node.js in synopsis document 2016-05-01 13:28:34 -07:00
timers.md doc: add added: information for timers 2016-07-05 21:49:21 +02:00
tls.md doc: add added: information for tls 2016-06-23 02:01:29 +02:00
tty.md doc: general improvements to tty.md 2016-05-27 08:51:34 -07:00
url.md doc: url.format() parameter may be a string 2016-06-10 21:45:02 -07:00
util.md doc: fix util.deprecate() example 2016-07-13 07:47:07 -05:00
v8.md doc: general improvements to v8.md copy 2016-05-20 08:37:45 -07:00
vm.md vm: add ability to break on sigint/ctrl+c 2016-06-18 20:44:16 +02:00
zlib.md zlib: move constants into zlib.constants 2016-06-11 17:24:35 -07:00