Skip to content

ArtifactChunk

One range of an artifact’s bytes, as IndeRun.readArtifact returns it.

artifactId: string

The artifact the bytes belong to.


bytes: Uint8Array

The bytes of this range; empty when offset is the artifact’s end.


done: boolean

Whether this range reaches the end of the artifact.


offset: number

Byte offset of bytes within the artifact.


totalBytes: number

Size of the whole artifact in bytes.