1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00
This commit is contained in:
sbarman 2011-08-03 22:43:15 -07:00
parent 4b132a7b3e
commit 7a7ff9e8c5

3
pdf.js
View file

@ -230,9 +230,8 @@ var DecodeStream = (function() {
},
makeSubStream: function decodestream_makeSubstream(start, length, dict) {
var end = start + length;
while (this.bufferLength <= end && !this.eof) {
while (this.bufferLength <= end && !this.eof)
this.readBlock();
}
return new Stream(this.buffer, start, length, dict);
},
skip: function decodestream_skip(n) {