remove putBack and make skip go via skipChar
This commit is contained in:
parent
ac17a847d0
commit
056a81ee89
6
pdf.js
6
pdf.js
@ -39,14 +39,12 @@ var Stream = (function() {
|
||||
this.pos++;
|
||||
return ch;
|
||||
},
|
||||
putBack: function() {
|
||||
this.pos--;
|
||||
},
|
||||
skipChar: function() {
|
||||
this.pos++;
|
||||
},
|
||||
skip: function(n) {
|
||||
this.pos += n;
|
||||
while (n-- > 0)
|
||||
this.skipChar();
|
||||
},
|
||||
moveStart: function() {
|
||||
this.start = this.pos;
|
||||
|
Loading…
x
Reference in New Issue
Block a user