Constructors
constructor
- new Blob(bits?, options?): Blob
Parameters
Optional
bits: (string | ArrayBuffer | ArrayBufferView | Blob)[]Optional
options: BlobOptions
Properties
Readonly
size
size: number
Readonly
type
type: string
Methods
arrayBuffer
- arrayBuffer(): Promise<ArrayBuffer>
Returns Promise<ArrayBuffer>
slice
- slice(start?, end?, type?): Blob
Parameters
Optional
start: numberOptional
end: numberOptional
type: string
text
- text(): Promise<string>
Returns Promise<string>
MDN Reference