Go to console

An immutable object representing an array of bytes.

Index

Constructors

Private constructor

Methods

isEqual

  • isEqual(other: Blob): boolean
  • Returns true if this Blob is equal to the provided one.

    Parameters

    • other: Blob

      The Blob to compare against.

    Returns boolean

    true if this Blob is equal to the provided one.

toBase64

  • toBase64(): string
  • Returns the bytes of a Blob as a Base64-encoded string.

    Returns string

    The Base64-encoded string created from the Blob object.

toUint8Array

  • toUint8Array(