omni-compress - v2.3.1
    Preparing search index...

    Function arrayBufferToBlob

    • Wraps a raw ArrayBuffer into a Blob with the given MIME type. Used to convert FFmpeg/OffscreenCanvas output back into a transferable blob.

      Parameters

      • buffer: ArrayBuffer

        The raw bytes to wrap.

      • mimeType: string

        MIME type for the resulting blob (e.g. 'image/webp').

      Returns Blob

      A Blob containing the given bytes.