test,doc: clarify `buf.indexOf(num)` input range by addaleax · Pull Request #7611 · nodejs/node
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: nodejs#7591
added
buffer
labels
Jul 8, 2016addaleax added a commit that referenced this pull request
Jul 13, 2016evanlucas pushed a commit that referenced this pull request
Jul 15, 2016evanlucas pushed a commit that referenced this pull request
Jul 20, 2016addaleax added a commit to addaleax/node that referenced this pull request
Sep 9, 2016Hopefully 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: nodejs#7591 PR-URL: nodejs#7611 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
MylesBorins pushed a commit that referenced this pull request
Sep 9, 2016MylesBorins pushed a commit that referenced this pull request
Sep 28, 2016rvagg pushed a commit that referenced this pull request
Oct 18, 2016MylesBorins pushed a commit that referenced this pull request
Oct 26, 2016This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters