Skip to content

Add support of Array in JSZip#load.#252

Merged
Stuk merged 1 commit intoStuk:masterfrom
dduponchel:arrayReader
Mar 9, 2016
Merged

Add support of Array in JSZip#load.#252
Stuk merged 1 commit intoStuk:masterfrom
dduponchel:arrayReader

Conversation

@dduponchel
Copy link
Copy Markdown
Contributor

In #250 case, we don't have fancy Uint8Array but we have an unsupported
binary format. An array of bytes (numbers between 0 and 255) is the
lowest common denominator. A binary string would awkward to build here
and building it reliably can be tricky (without filling the stack or
taking too much time/memory).
This commit adds the missing arrayReader needed here.

In Stuk#250 case, we don't have fancy Uint8Array but we have a unsupported
binary format. An array of bytes (numbers between 0 and 255) is the
lowest common denominator. A binary string would awkward to build here
and building it reliably can be tricky (without filling the stack or
taking too much time/memory).
This commit adds the missing `arrayReader` needed here.
@dduponchel dduponchel mentioned this pull request Mar 6, 2016
Stuk added a commit that referenced this pull request Mar 9, 2016
Add support of Array in JSZip#load.
@Stuk Stuk merged commit ed59b0c into Stuk:master Mar 9, 2016
@dduponchel dduponchel deleted the arrayReader branch March 11, 2016 16:33
@dduponchel dduponchel mentioned this pull request Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants