Skip to content

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

NameType
dataUint8Array
options?Object
options.nameundefined | string

Returns

ZipReader

Defined in

src/reader.js:12

Properties

files

files: Map<any, any>

Defined in

src/reader.js:15


name

name: string

Defined in

src/reader.js:16

Methods

read

read(name): Uint8Array

Parameters

NameType
namestring

Returns

Uint8Array

Defined in

src/reader.js:23


stat

stat(name): undefined | ArchivedStat

Parameters

NameType
namestring

Returns

undefined | ArchivedStat

Defined in

src/reader.js:35