summaryrefslogtreecommitdiff
path: root/docs/interfaces/unzipfileinfo.md
blob: d1d885317aecef88152e3d22290abf6c78239bab (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
# Interface: UnzipFileInfo

Information about a file to be extracted from a ZIP archive

## Hierarchy

* **UnzipFileInfo**

## Index

### Properties

* [compression](unzipfileinfo.md#compression)
* [name](unzipfileinfo.md#name)
* [originalSize](unzipfileinfo.md#originalsize)
* [size](unzipfileinfo.md#size)

## 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. If the filter function returns true
but this value is not 8, the unzip function will throw.

___

### name

•  **name**: string

The name of the file

___

### originalSize

•  **originalSize**: number

The original size of the file

___

### size

•  **size**: number

The compressed size of the file