added reset

This commit is contained in:
sbarman 2011-07-13 17:58:54 -07:00
parent bbc940724f
commit 7ee383a7f8

3
pdf.js
View File

@ -221,6 +221,9 @@ var DecodeStream = (function() {
if (!n) if (!n)
n = 1; n = 1;
this.pos += n; this.pos += n;
},
reset: function decodestream_reset() {
this.pos = 0;
} }
}; };