@zip.js/zip.js
    Preparing search index...

    Class SplitDataWriter

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

    Implements

    Index
    availableSize: number

    The number of bytes still available on the disk being written.

    diskNumber: number

    The number of the disk being written.

    diskOffset: number

    The byte offset of the disk being written.

    maxSize: number

    The maximum size of the disk being written in bytes.

    It starts at the maxSize passed to the constructor. Each disk that sets its own WritableWriter#maxSize replaces it, for that disk and the following ones.

    size: number

    The number of bytes written into the instance.

    writable: WritableStream

    The WritableStream instance.

    • Closes the disk being written, the next disk being opened when more data is written

      Returns Promise<void>