mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Removes "too many inline images" limit
This commit is contained in:
parent
0910c5e68e
commit
d71c702dcf
5 changed files with 230 additions and 53 deletions
|
@ -19,7 +19,8 @@
|
|||
|
||||
var Stream = (function StreamClosure() {
|
||||
function Stream(arrayBuffer, start, length, dict) {
|
||||
this.bytes = new Uint8Array(arrayBuffer);
|
||||
this.bytes = arrayBuffer instanceof Uint8Array ? arrayBuffer :
|
||||
new Uint8Array(arrayBuffer);
|
||||
this.start = start || 0;
|
||||
this.pos = this.start;
|
||||
this.end = (start + length) || this.bytes.length;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue