@oazmi/kitchensink - v0.9.13
    Preparing search index...

    Function downloadBuffer

    • create a blob out of your Uint8Array bytes buffer and queue it for downloading.

      you can also provide an optional file_name and mime_type. technically, you can download any kind of data, so long as your mime_type and data pair match within the capabilities of your the browser's internal blob encoder.

      Parameters

      • data: any
      • file_name: string = "data.bin"
      • mime_type: string = "application/octet-stream"

      Returns void