diff --git a/bl.js b/bl.js index e6b25a2..6480582 100644 --- a/bl.js +++ b/bl.js @@ -262,6 +262,7 @@ BufferList.prototype.destroy = function destroy () { this.push(null) } + BufferList.prototype.indexOf = function (search, offset, encoding) { if (encoding === undefined && typeof offset === 'string') { encoding = offset