Skip to main content

Blob

interface Blob

A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system.

Properties Jump to heading

readonly
Jump to headingsize: number
readonly
Jump to headingtype: string
Jump to headingarrayBuffer(): Promise<ArrayBuffer>
Jump to headingbytes(): Promise<Uint8Array>
Jump to headingslice(
start?: number,
end?: number,
contentType?: string,
): Blob
Jump to headingtext(): Promise<string>
variable Blob

A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system.

Properties Jump to heading

Back to top