Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/zipjs/index.js>ZipDirectoryEntry#addUint8Array

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, Zip64 and encryption.
Go to Latest
method ZipDirectoryEntry.prototype.addUint8Array
import { ZipDirectoryEntry } from "https://deno.land/x/zipjs@v2.6.20/index.js";

Adds an entry with content provided as a Uint8Array instance

Parameters

name: string

The relative filename of the entry.

array: Uint8Array

The Uint8Array instance.

Returns

ZipFileEntry<Uint8Array, Uint8Array>

A ZipFileEntry instance.