MCPcopy Create free account
hub / github.com/fontsource/fontsource / Blob

Class Blob

website/worker-configuration.d.ts:785–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

783 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob)
784 */
785declare class Blob {
786 constructor(type?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[], options?: BlobOptions);
787 /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/size) */
788 get size(): number;
789 /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/type) */
790 get type(): string;
791 /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */
792 slice(start?: number, end?: number, type?: string): Blob;
793 /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer) */
794 arrayBuffer(): Promise<ArrayBuffer>;
795 /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/bytes) */
796 bytes(): Promise<Uint8Array>;
797 /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text) */
798 text(): Promise<string>;
799 /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/stream) */
800 stream(): ReadableStream;
801}
802interface BlobOptions {
803 type?: string;
804}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected