Wraps a raw ArrayBuffer into a Blob with the given MIME type. Used to convert FFmpeg/OffscreenCanvas output back into a transferable blob.
ArrayBuffer
Blob
The raw bytes to wrap.
MIME type for the resulting blob (e.g. 'image/webp').
'image/webp'
A Blob containing the given bytes.
Wraps a raw
ArrayBufferinto aBlobwith the given MIME type. Used to convert FFmpeg/OffscreenCanvas output back into a transferable blob.