Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/zipjs/index.js>Reader#readUint8Array

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

Reads a chunk of data

Parameters

index: number

The byte index of the data to read.

length: number

The length of the data to read in bytes.

Returns

Promise<Uint8Array>

A promise resolving to a chunk of data.