Skip to main content
Module

x/zipjs/index.d.ts>BlobWriter

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, Zip64 and encryption.
Go to Latest
class BlobWriter
implements Initializable, WritableWriter
import { BlobWriter } from "https://deno.land/x/zipjs@test/index.d.ts";

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