Options
All
  • Public
  • Public/Protected
  • All
Menu

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.

Hierarchy

  • Blob

Index

Properties

size: number
type: string

Methods

  • arrayBuffer(): Promise<ArrayBuffer>
  • Returns Promise<ArrayBuffer>

  • slice(start?: number, end?: number, contentType?: string): <internal>.Blob
  • Parameters

    • Optional start: number
    • Optional end: number
    • Optional contentType: string

    Returns <internal>.Blob

  • text(): Promise<string>
  • Returns Promise<string>

Generated using TypeDoc