Options
All
  • Public
  • Public/Protected
  • All
Menu

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.

Hierarchy

Index

Properties

Methods

Properties

Readonly size

size: number

Readonly type

type: string

Methods

arrayBuffer

slice

  • slice(start?: number, end?: number, contentType?: string): Blob
  • Parameters

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

    Returns Blob

stream

  • Returns ReadableStream

text

  • Returns Promise<string>

Generated using TypeDoc