diff --git a/lib/bufferreader.js b/lib/bufferreader.js index f33ec90..15369fb 100644 --- a/lib/bufferreader.js +++ b/lib/bufferreader.js @@ -18,7 +18,7 @@ BufferReader.prototype.set = function(obj) { return this; }; -BufferReader.prototype.eof = function eof() { +BufferReader.prototype.eof = function() { return this.pos >= this.buf.length; };