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

    Class BlobReader

    Represents a Reader instance used to read data provided as a Blob instance.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    readable: ReadableStream

    The ReadableStream instance.

    size: number

    The total size of the data in bytes.

    Methods

    • Initializes the instance asynchronously

      Returns Promise<void>

    • Reads a chunk of data

      Parameters

      • index: number

        The byte index of the data to read.

      • length: number

        The length of the data to read in bytes.

      Returns Promise<Uint8Array<ArrayBuffer>>

      A promise resolving to a chunk of data.