Index and payload of a chunk.

interface Chunk {
    final?: number;
    i: number;
    payload: Uint8Array<ArrayBufferLike>;
}

Properties

Properties

final?: number

Final chunk number, if known.

i: number

Chunk number, starting from zero.

payload: Uint8Array<ArrayBufferLike>

Chunk payload.