BridgedArtifactChunk
ArtifactChunk as it crosses the plugin boundary. A Capacitor native call resolves JSON,
which cannot carry a byte array, so iOS and Android send bytes as a base64 string;
the web implementation has no hop to cross and sends the engine’s Uint8Array as is.
IndeRunCapacitor.readArtifact and createIndeRunCapacitor() decode either form back into
ArtifactChunk. Base64 is transport only: results still carry artifact handles, never bytes.
Extends
Section titled “Extends”Omit<ArtifactChunk,"bytes">
Properties
Section titled “Properties”artifactId
Section titled “artifactId”artifactId:
string
The artifact the bytes belong to.
Inherited from
Section titled “Inherited from”bytes:
string|Uint8Array<ArrayBufferLike>
done:
boolean
Whether this range reaches the end of the artifact.
Inherited from
Section titled “Inherited from”offset
Section titled “offset”offset:
number
Byte offset of bytes within the artifact.
Inherited from
Section titled “Inherited from”totalBytes
Section titled “totalBytes”totalBytes:
number
Size of the whole artifact in bytes.
Inherited from
Section titled “Inherited from”IndeRun — open-source AI execution for cross-platform apps. Built and maintained by Independo GmbH (opens in new tab), supported by netidee (opens in new tab).
MIT-licensed SDK · Documentation under CC BY-SA 4.0 (opens in new tab) · No SDK usage telemetry.
© 2025–2026 Independo GmbH