Commit 78581c8d authored by Trevor Norris's avatar Trevor Norris
Browse files

buffer: add indexOf() method

Add Buffer#indexOf(). Support strings, numbers and other Buffers. Also
included docs and tests.

Special thanks to Sam Rijs <srijs@airpost.net> for first proposing this
change.

PR-URL: https://github.com/iojs/io.js/pull/561


Reviewed-by: default avatarBen Noordhuis <info@bnoordhuis.nl>
Reviewed-By: default avatarBrian White <mscdex@mscdex.net>
Reviewed-By: default avatarChris Dickinson <christopher.s.dickinson@gmail.com>
parent abb00cc9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment