]> zoso.dev Git - buffer.git/commit
buffer: add indexOf() method
authorFeross Aboukhadijeh <feross@feross.org>
Mon, 9 Mar 2015 22:28:41 +0000 (15:28 -0700)
committerFeross Aboukhadijeh <feross@feross.org>
Mon, 9 Mar 2015 22:28:41 +0000 (15:28 -0700)
commit34488b61354aa12ddff8a8291d9cd2662c1402de
tree6376f057144be3cf70f59bbeacbe54a611f847d4
parent21f472ed88b090dbb5ca28e1d497c872684eab80
buffer: add indexOf() method

Add Buffer#indexOf(). Support strings, numbers and other Buffers.

Supported in iojs@1.5.0, see:
https://github.com/iojs/io.js/commit/f212ae702e57f6d6548972e10d4374a000e
53e19
index.js