Module

x/zipjs/index.js>SplitDataWriter

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

Represents a Writer instance used to retrieve the written data from a generator of WritableWriter instances (i.e. split zip files).

Constructors

new
SplitDataWriter(writerGenerator: AsyncGenerator<Writer<unknown> | WritableWriter | WritableStream, boolean>, maxSize?: number)

Creates the SplitDataWriter instance

Properties

writable: WritableStream

The WritableStream instance.

Methods

init(): Promise<void>

Initializes the instance asynchronously