Provides information about files and allows JavaScript in a web page to access their content.

Hierarchy

  • Blob
    • File

Constructors

  • Parameters

    Returns Blob

Properties

lastModified: number
name: string
prototype: Blob
size: number
type: string
webkitRelativePath: string

Methods

  • Returns Promise<ArrayBuffer>

  • Parameters

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

    Returns Blob

  • Returns ReadableStream<Uint8Array>

  • Returns Promise<string>