Module

x/zipjs/index.d.ts>ZipFileEntry#getData

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
Go to Latest
method ZipFileEntry.prototype.getData
import { ZipFileEntry } from "https://dotland.deno.dev/x/zipjs@v2.7.28/index.d.ts";

Retrieves the content of the entry via a Writer instance

Parameters

writer:
| Writer<unknown>
| WritableWriter
| AsyncGenerator<Writer<unknown> | WritableWriter | WritableStream>

The Writer instance.

optional
options: EntryGetDataOptions

The options.

Returns

Promise<unknown>

A promise resolving to data associated to the Writer instance.