INNER CODE UNIT · TypeScript
Writer
gildas-lormeau/zip.js · index.d.ts:1185
export class Writer<Type> implements Initializable, WritableWriter {
/**
* The `WritableStream` instance.
*/
writable: WritableStream;
/**
* The number of bytes written into the instance.
*/
size: number;
/**
* Initializes the instance asynchronously
*
* @param size the total size of the written data in bytes.
*/
init?(size?: number): Promise<void>;
/**
* Appends a chunk of data
*