org.scalajs.dom

DataView

class DataView extends Object with ArrayBufferView

Annotations
@RawJSType()
Linear Supertypes
ArrayBufferView, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DataView
  2. ArrayBufferView
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DataView(buffer: ArrayBuffer, byteOffset: Int, byteLength: Int)

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. val buffer: ArrayBuffer

    The source buffer for this view.

    The source buffer for this view.

    Definition Classes
    ArrayBufferView
  6. def byteLength: Int

    The length, in bytes of this view.

    The length, in bytes of this view.

    Definition Classes
    ArrayBufferView
  7. def byteOffset: Int

    The offset into the source array buffer this view starts at.

    The offset into the source array buffer this view starts at.

    Definition Classes
    ArrayBufferView
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def getFloat32(byteOffset: Int, littleEndian: Boolean = ???): Double

    Returns the 32-bit IEEE-754 float at byteOffset, if littleEndian uses little endian, otherwise uses big endian.

  14. def getFloat64(byteOffset: Int, littleEndian: Boolean = ???): Double

    Returns the 64-bit IEEE-754 float at byteOffset, if littleEndian uses little endian, otherwise uses big endian.

  15. def getInt16(byteOffset: Int, littleEndian: Boolean = ???): Int

    Returns the signed 16-bit integer at byteOffset, if littleEndian uses little endian, otherwise uses big endian.

  16. def getInt32(byteOffset: Int, littleEndian: Boolean = ???): Int

    Returns the signed 32-bit integer at byteOffset, if littleEndian uses little endian, otherwise uses big endian.

  17. def getInt8(byteOffset: Int): Int

    Returns the signed 8-bit integer at byteOffset.

  18. def getUint16(byteOffset: Int, littleEndian: Boolean = ???): Int

    Returns the unsigned 16-bit integer at byteOffset, if littleEndian uses little endian, otherwise uses big endian.

  19. def getUint32(byteOffset: Int, littleEndian: Boolean = ???): Double

    Returns the unsigned 32-bit integer at byteOffset, if littleEndian uses little endian, otherwise uses big endian.

  20. def getUint8(byteOffset: Int): Int

    Returns the unsigned 8-bit integer at byteOffset.

  21. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  29. def setFloat32(byteOffset: Int, value: Int, littleEndian: Boolean = ???): Int

    Sets the 32-bit IEEE 754 float at byteOffset to value.

    Sets the 32-bit IEEE 754 float at byteOffset to value. If littleEndian is true, uses little-endian, otherwise uses big-endian.

  30. def setFloat64(byteOffset: Int, value: Int, littleEndian: Boolean = ???): Int

    Sets the 64-bit IEEE 754 float at byteOffset to value.

    Sets the 64-bit IEEE 754 float at byteOffset to value. If littleEndian is true, uses little-endian, otherwise uses big-endian.

  31. def setInt16(byteOffset: Int, value: Int, littleEndian: Boolean = ???): Int

    Sets the signed short at byteOffset to value.

    Sets the signed short at byteOffset to value. If littleEndian is true, uses little-endian, otherwise uses big-endian.

  32. def setInt32(byteOffset: Int, value: Int, littleEndian: Boolean = ???): Int

    Sets the signed integer at byteOffset to value.

    Sets the signed integer at byteOffset to value. If littleEndian is true, uses little-endian, otherwise uses big-endian.

  33. def setInt8(byteOffset: Int, value: Int): Int

    Sets the signed byte at byteOffset to value.

  34. def setUint16(byteOffset: Int, value: Int, littleEndian: Boolean = ???): Int

    Sets the unsigned short at byteOffset to value.

    Sets the unsigned short at byteOffset to value. If littleEndian is true, uses little-endian, otherwise uses big-endian.

  35. def setUint32(byteOffset: Int, value: Int, littleEndian: Boolean = ???): Int

    Sets the unsigned integer at byteOffset to value.

    Sets the unsigned integer at byteOffset to value. If littleEndian is true, uses little-endian, otherwise uses big-endian.

  36. def setUint8(byteOffset: Int, value: Int): Int

    Sets the unsigned byte at byteOffset to value.

  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def toLocaleString(): String

    Definition Classes
    Object
  39. def toString(): String

    Definition Classes
    AnyRef → Any
  40. def valueOf(): Any

    Definition Classes
    Object
  41. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def unary_!(): Boolean

    Definition Classes
    Any
    Annotations
    @deprecated
    Deprecated

    (Since version 0.5.0) Considered abuse in typed JavaScript, will be removed in 0.6. Use js.Dynamic or js.prim.Boolean instead.

Inherited from ArrayBufferView

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped