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

    Interface CompressionStreamOptions

    Represents the options passed as the second argument to the constructor of the classes compressing data, i.e. CodecDefinition#CompressionStream, Configuration#CompressionStream and Configuration#CompressionStreamFallback.

    interface CompressionStreamOptions {
        chunkSize?: number;
        compressionMethod?: number;
        level?: number;
    }
    Index
    chunkSize?: number

    The size of the chunks in bytes, see Configuration#chunkSize.

    compressionMethod?: number

    The compression method of the entry. It allows codecs registered for several methods sharing the same format to distinguish them (e.g. Reduce, methods 2 to 5).

    It is only set for the codecs registered with registerCodec.

    level?: number

    The compression level, see ZipWriterConstructorOptions#level.