diff --git a/pdf.js b/pdf.js index a3179406c..9aef8aa28 100644 --- a/pdf.js +++ b/pdf.js @@ -221,6 +221,9 @@ var DecodeStream = (function() { if (!n) n = 1; this.pos += n; + }, + reset: function decodestream_reset() { + this.pos = 0; } };