soldair/node-buffer-indexof — pull request #1 by mafintosh (2014-08-20 13:21:04+00:00)
Title: fix issue with partial positives

Currently this has a bug where

``` js
var i = indexOf(new Buffer('a'), new Buffer('abc'))
console.log(i)
```

Prints 0 (it should print -1)
This PR fixes this.