blob: 88388c70e5ea37c325438fde580440ec2d9cd0ae (
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
|
# Interface: UnzipDecoderConstructor
A constructor for a decoder for unzip streams
## Hierarchy
* **UnzipDecoderConstructor**
## Index
### Constructors
* [constructor](unzipdecoderconstructor.md#constructor)
### Properties
* [compression](unzipdecoderconstructor.md#compression)
## Constructors
### constructor
\+ **new UnzipDecoderConstructor**(`filename`: string, `size?`: number, `originalSize?`: number): [UnzipDecoder](unzipdecoder.md)
Creates an instance of the decoder
#### Parameters:
Name | Type | Description |
------ | ------ | ------ |
`filename` | string | The name of the file |
`size?` | number | The compressed size of the file |
`originalSize?` | number | The original size of the file |
**Returns:** [UnzipDecoder](unzipdecoder.md)
## Properties
### compression
• **compression**: number
The compression format for the data stream. This number is determined by
the spec in PKZIP's APPNOTE.txt, section 4.4.5. For example, 0 = no
compression, 8 = deflate, 14 = LZMA
|