@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;
        uncompressedSize?: 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.

    uncompressedSize?: number

    The uncompressed size of the entry, undefined when the size is unknown. It allows codecs such as Zstandard to include the content size in the compressed frame.

    It is only set for the codecs registered with registerCodec.