Type alias Chunker

Chunker: ((byteStart?, byteEnd?) => Promise<Uint8Array>)

Type declaration

    • (byteStart?, byteEnd?): Promise<Uint8Array>
    • Read data from a seekable stream. This is an abstraction for URLs with range queries and local file objects.

      Parameters

      • Optional byteStart: number

        First byte to read. If negative, reads from the end. If absent, reads everything

      • Optional byteEnd: number

        Index after last byte to read (exclusive)

      Returns Promise<Uint8Array>

Generated using TypeDoc