iojs/io.js — pull request #161 by algesten (2014-12-14 07:00:01+00:00)
Title: buffer: add indexOf/lastIndexOf method

Expanded on @srijs code to add a `Buffer.prototype.lastIndexOf`. I used a strategy of divide/conquer, but since I'm a total c++ idiot, I have no idea whether there is a better way (some reverse memcmp variant?). Also I rebased both srijs and these commits against v0.12 hoping it would make it out sooner :)