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
| Name | Type |
|---|---|
options | Object |
options.date | Date |
Returns
Defined in
Properties
date
• date: Date
Defined in
files
• files: Map<any, any>
type
Defined in
Methods
snapshot
▸ snapshot(): Uint8Array
Returns
Uint8Array
Defined in
write
▸ write(name, content, options?): void
Parameters
| Name | Type |
|---|---|
name | string |
content | Uint8Array |
options? | Object |
options.comment? | string |
options.date? | Date |
options.mode? | number |
Returns
void