Packages

class Blob extends Object with StObject

Annotations
@JSType() @JSImport("buffer", "Blob") @native()
Source
bufferMod.scala
Linear Supertypes
StObject, Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Blob
  2. StObject
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Blob(sources: Array[|[BinaryLike, Blob]], options: BlobOptions)
  2. new Blob(sources: Array[|[BinaryLike, Blob]])

    Creates a new Blob object containing a concatenation of the given sources.

    Creates a new Blob object containing a concatenation of the given sources.

    {ArrayBuffer}, {TypedArray}, {DataView}, and {Buffer} sources are copied into the 'Blob' and can therefore be safely modified after the 'Blob' is created.

    String sources are also copied into the Blob.

  3. new Blob()
    Attributes
    protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def arrayBuffer(): Promise[ArrayBuffer]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def hasOwnProperty(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. def propertyIsEnumerable(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  18. val size: Double

    Returns a promise that fulfills with an {ArrayBuffer} containing a copy of the Blob data.

  19. def slice(start: Unit, end: Unit, type: java.lang.String): Blob
  20. def slice(start: Unit, end: Double, type: java.lang.String): Blob
  21. def slice(start: Unit, end: Double): Blob
  22. def slice(start: Double, end: Unit, type: java.lang.String): Blob
  23. def slice(start: Double, end: Double, type: java.lang.String): Blob
  24. def slice(start: Double, end: Double): Blob
  25. def slice(start: Double): Blob
  26. def slice(): Blob

  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def text(): Promise[java.lang.String]

    Returns a promise that resolves the contents of the Blob decoded as a UTF-8 string.

  29. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  30. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  31. val type: java.lang.String

    The content-type of the Blob.

  32. def valueOf(): Any
    Definition Classes
    Object
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped