Module

x/zipjs/index.js>BlobWriter

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

Represents a WritableWriter instance used to retrieve the written data as a Blob instance.

Constructors

new
BlobWriter(mimeString?: string)

Creates the BlobWriter instance

Properties

writable: WritableStream

The WritableStream instance.

Methods

getData(): Promise<Blob>

Retrieves all the written data

init(): Promise<void>

Initializes the instance asynchronously