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

    Interface WritableWriter

    Represents an instance used to write data into a WritableStream instance.

    interface WritableWriter {
        maxSize?: number;
        size?: number;
        writable: WritableStream;
    }

    Implemented by

    Index
    maxSize?: number

    The maximum size of split data when creating a ZipWriter instance or when calling FileEntry#getData with a generator of WritableWriter instances.

    size?: number

    The number of bytes written into the instance. It is set to 0 before the first write, and a value set beforehand is kept and used as the starting offset instead of being reset to 0.

    The bytes of a section are added once that section is written, so the value is settled between entries rather than after every chunk: an instance reading it from its own write() method sees the total of the sections already finished. The exception is an instance yielded by a generator of split disks, which is updated on each chunk written to it, so it can compute the offset of the disk it is filling.

    It must therefore be assignable, see ERR_WRITER_SIZE_NOT_WRITABLE: a getter with no setter is rejected when the writer is passed, not once the first entry has been written.

    writable: WritableStream

    The WritableStream instance.