Skip to content

Endo API documentation - v0.2.0 / Exports / @endo/zip / ZipWriter

Class: ZipWriter

@endo/zip.ZipWriter

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ZipWriter(options?): ZipWriter

Parameters

NameType
optionsObject
options.dateDate

Returns

ZipWriter

Defined in

src/writer.js:12

Properties

date

date: Date

Defined in

src/writer.js:16


files

files: Map<any, any>

type

Defined in

src/writer.js:15

Methods

snapshot

snapshot(): Uint8Array

Returns

Uint8Array

Defined in

src/writer.js:45


write

write(name, content, options?): void

Parameters

NameType
namestring
contentUint8Array
options?Object
options.comment?string
options.date?Date
options.mode?number

Returns

void

Defined in

src/writer.js:28