Options
All
  • Public
  • Public/Protected
  • All
Menu

Generate chunks from a fixed buffer.

Hierarchy

  • KnownSizeChunkSource
    • BufferChunkSource

Implements

Index

Constructors

Properties

chunkSize: number
final: number
finalChunkSize: number
totalSize: number

Methods

  • getChunk(i: number): Promise<undefined | Chunk>
  • getPayload(i: number, offset: number, chunkSize: number): Promise<Uint8Array>
  • listChunks(): AsyncIterable<Chunk>

Generated using TypeDoc