getBlobArrayBuffer
Reads the contents of a Blob as binary data.
Import:
import { getBlobArrayBuffer } from 'obsidian-test-mocks/obsidian';Signature:
function getBlobArrayBuffer(blob: Blob): Promise<ArrayBuffer>Parameters:
| Parameter | Type | Description |
|---|---|---|
blob |
Blob | The blob to read. |
Returns: Promise<ArrayBuffer> — A promise resolving to the blob’s bytes.