Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 431 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 431 Bytes

node-buffer-indexof-fast

This is a native implementation of .indexOf for the Buffer data type. Exports a function which can be applied to a buffer like so:

Buffer.prototype.indexOf = require('buffer-indexof-fast');

new Buffer("hello").indexOf("llo", 1);