Endo API documentation - v0.2.0 / Exports / @endo/zip / ZipReader
Class: ZipReader
@endo/zip.ZipReader
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ZipReader(data
, options?
): ZipReader
Parameters
Name | Type |
---|---|
data | Uint8Array |
options? | Object |
options.name | undefined | string |
Returns
Defined in
Properties
files
• files: Map
<any
, any
>
Defined in
name
• name: string
Defined in
Methods
read
▸ read(name
): Uint8Array
Parameters
Name | Type |
---|---|
name | string |
Returns
Uint8Array
Defined in
stat
▸ stat(name
): undefined
| ArchivedStat
Parameters
Name | Type |
---|---|
name | string |
Returns
undefined
| ArchivedStat