INNER CODE UNIT · TypeScript
BlobWriter
gildas-lormeau/zip.js · index.d.ts:1253
export class BlobWriter implements Initializable, WritableWriter {
/**
* The `WritableStream` instance.
*/
writable: WritableStream;
/**
* The number of bytes written into the instance.
*/
size: number;
/**
* The MIME type of the content, i.e. the type of the `Blob` instance returned by
* {@link BlobWriter#getData}.
*/
contentType?: string;
/**
* Initializes the instance asynchronously
*/
init(): Promise<void>;