Module

x/zipjs/index.d.ts>ZipDirectoryEntry#addUint8Array

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

Adds an entry with content provided as a Uint8Array instance

Parameters

name: string

The relative filename of the entry.

array: Uint8Array

The Uint8Array instance.

optional
options: ZipWriterAddDataOptions

The options.

Returns

ZipFileEntry<Uint8Array, Uint8Array>

A ZipFileEntry instance.