Skip to main content
Module

x/zipjs/index.js>Reader#readUint8Array

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
Go to Latest
method Reader.prototype.readUint8Array
import { Reader } from "https://deno.land/x/zipjs@v2.7.42/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.