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

Methods

Properties

Methods

  • Returns Promise<ArrayBuffer>

  • Parameters

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

    Returns Blob

  • Returns Promise<string>

Properties

size: number
type: string