Skip to content

Bytes

Bytes = ReturnType<Uint8Array["slice"]>

Defined in: next/api.d.ts:38

Bytes that the functions return: a plain Uint8Array, not a Node.js Buffer, over an ArrayBuffer.

Whether that ArrayBuffer can be transferred, with postMessage() or structuredClone(), is not guaranteed: copy a result with slice() to transfer it.