Options
All
  • Public
  • Public/Protected
  • All
Menu

Generate chunks from a Blob (from W3C File API, browser only).

Hierarchy

  • KnownSizeChunkSource
    • BlobChunkSource

Implements

Index

Constructors

constructor

Properties

Protected Readonly chunkSize

chunkSize: number

Protected Readonly final

final: number

Protected Readonly finalChunkSize

finalChunkSize: number

Protected Readonly totalSize

totalSize: number

Methods

getChunk

  • getChunk(i: number): Promise<undefined | Chunk>

Protected getPayload

  • getPayload(i: number, offset: number, chunkSize: number): Promise<Uint8Array>

listChunks

  • listChunks(): AsyncIterable<Chunk>

Generated using TypeDoc