Skip to content

downloadBytes()

function downloadBytes(
bytes,
fileName,
mimeType
): void;

Triggers a browser download of the given bytes. Browser only.

Parameter Type
bytes Uint8Array
fileName string
mimeType string

void