mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
added reset
This commit is contained in:
parent
bbc940724f
commit
7ee383a7f8
1 changed files with 3 additions and 0 deletions
3
pdf.js
3
pdf.js
|
@ -221,6 +221,9 @@ var DecodeStream = (function() {
|
|||
if (!n)
|
||||
n = 1;
|
||||
this.pos += n;
|
||||
},
|
||||
reset: function decodestream_reset() {
|
||||
this.pos = 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue