summaryrefslogtreecommitdiff
path: root/docs/classes/asyncunzipinflate.md
blob: befe5f16a324aa58b4d3708fbb5fa3dcc781cad3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# 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**(`_`: string, `sz?`: number): [AsyncUnzipInflate](asyncunzipinflate.md)

Creates a DEFLATE decompression that can be used in ZIP archives

#### Parameters:

Name | Type |
------ | ------ |
`_` | string |
`sz?` | number |

**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