Module

x/zipjs/index.js>ZipFileEntry#getData64URI

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

Retrieves the content of the entry as as a Data URI string encoded in Base64

Parameters

optional
mimeType: string

The MIME type of the content.

optional
options: EntryGetDataOptions

The options.

Returns

Promise<string>

A promise resolving to a Data URI string encoded in Base64.