Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add streaming ZIP and unzip; fix import issues
- Loading branch information
Showing
19 changed files
with
892 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# Class: AsyncUnzipInflate | ||
|
||
Asynchronous streaming DEFLATE decompression for ZIP archives | ||
|
||
## Hierarchy | ||
|
||
* **AsyncUnzipInflate** | ||
|
||
## Implements | ||
|
||
* [UnzipDecoder](../interfaces/unzipdecoder.md) | ||
|
||
## Index | ||
|
||
### Constructors | ||
|
||
* [constructor](asyncunzipinflate.md#constructor) | ||
|
||
### Properties | ||
|
||
* [ondata](asyncunzipinflate.md#ondata) | ||
* [terminate](asyncunzipinflate.md#terminate) | ||
* [compression](asyncunzipinflate.md#compression) | ||
|
||
### Methods | ||
|
||
* [push](asyncunzipinflate.md#push) | ||
|
||
## Constructors | ||
|
||
### constructor | ||
|
||
\+ **new AsyncUnzipInflate**(): [AsyncUnzipInflate](asyncunzipinflate.md) | ||
|
||
Creates a DEFLATE decompression that can be used in ZIP archives | ||
|
||
**Returns:** [AsyncUnzipInflate](asyncunzipinflate.md) | ||
|
||
## Properties | ||
|
||
### ondata | ||
|
||
• **ondata**: [AsyncFlateStreamHandler](../README.md#asyncflatestreamhandler) | ||
|
||
*Implementation of [UnzipDecoder](../interfaces/unzipdecoder.md).[ondata](../interfaces/unzipdecoder.md#ondata)* | ||
|
||
___ | ||
|
||
### terminate | ||
|
||
• **terminate**: [AsyncTerminable](../interfaces/asyncterminable.md) | ||
|
||
*Implementation of [UnzipDecoder](../interfaces/unzipdecoder.md).[terminate](../interfaces/unzipdecoder.md#terminate)* | ||
|
||
___ | ||
|
||
### compression | ||
|
||
▪ `Static` **compression**: number = 8 | ||
|
||
## Methods | ||
|
||
### push | ||
|
||
▸ **push**(`data`: Uint8Array, `final`: boolean): void | ||
|
||
*Implementation of [UnzipDecoder](../interfaces/unzipdecoder.md)* | ||
|
||
#### Parameters: | ||
|
||
Name | Type | | ||
------ | ------ | | ||
`data` | Uint8Array | | ||
`final` | boolean | | ||
|
||
**Returns:** void |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.