Interface GetEntriesOptions

Represents options passed to the constructor of ZipReader, ZipReader#getEntries and ZipReader#getEntriesGenerator.

interface GetEntriesOptions {
    commentEncoding?: string;
    filenameEncoding?: string;
    decodeText?(value, encoding): string;
}

Hierarchy (view full)

Properties

commentEncoding?: string

The encoding of the comment of the entry.

filenameEncoding?: string

The encoding of the filename of the entry.

Methods

  • Decodes the filename and the comment of the entry.

    Parameters

    • value: Uint8Array

      The raw text value.

    • encoding: string

      The encoding of the text.

    Returns string

    The decoded text value.