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://dotland.deno.dev/x/zipjs@v2.6.33/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.