Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

UnzipDecoderConstructor

A constructor for a decoder for unzip streams

interface UnzipDecoderConstructor {
compression: number;
new (
filename: string,
size?: number,
originalSize?: number,
): UnzipDecoder;
}

§Properties

§
compression: number
[src]

The compression format for the data stream. This number is determined by the spec in PKZIP's APPNOTE.txt, section 4.4.5. For example, 0 = no compression, 8 = deflate, 14 = LZMA

§Methods

§
new (
filename: string,
size?: number,
originalSize?: number,
): UnzipDecoder
[src]

Creates an instance of the decoder

@param filename

The name of the file

@param size

The compressed size of the file

@param originalSize

The original size of the file