Packages

class DataView extends Object with ArrayBufferView

ECMAScript 6 A DataView allows for extraction of particular data types at specific offsets.

Annotations
@JSType() @native() @JSGlobal()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DataView
  2. ArrayBufferView
  3. Object
  4. Any
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

  1. final def !=(arg0: scala.Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from DataView to any2stringadd[DataView] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DataView, B)
    Implicit
    This member is added by an implicit conversion from DataView to ArrowAssoc[DataView] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: scala.Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val buffer: ArrayBuffer

    The underlying buffer of this ArrayBufferView

    The underlying buffer of this ArrayBufferView

    Definition Classes
    ArrayBufferView
  8. val byteLength: Int

    The number of bytes of this ArrayBufferView

    The number of bytes of this ArrayBufferView

    Definition Classes
    ArrayBufferView
  9. val byteOffset: Int

    The offset of this ArrayBufferView in the underlying buffer

    The offset of this ArrayBufferView in the underlying buffer

    Definition Classes
    ArrayBufferView
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def ensuring(cond: (DataView) ⇒ Boolean, msg: ⇒ scala.Any): DataView
    Implicit
    This member is added by an implicit conversion from DataView to Ensuring[DataView] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (DataView) ⇒ Boolean): DataView
    Implicit
    This member is added by an implicit conversion from DataView to Ensuring[DataView] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ scala.Any): DataView
    Implicit
    This member is added by an implicit conversion from DataView to Ensuring[DataView] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): DataView
    Implicit
    This member is added by an implicit conversion from DataView to Ensuring[DataView] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: scala.Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getFloat32(byteOffset: Int, littleEndian: Boolean = false): Float
  20. def getFloat64(byteOffset: Int, littleEndian: Boolean = false): Double
  21. def getInt16(byteOffset: Int, littleEndian: Boolean = false): Short
  22. def getInt32(byteOffset: Int, littleEndian: Boolean = false): Int
  23. def getInt8(byteOffset: Int): Byte
  24. def getUint16(byteOffset: Int, littleEndian: Boolean = false): Int
  25. def getUint32(byteOffset: Int, littleEndian: Boolean = false): Double
  26. def getUint8(byteOffset: Int): Short
  27. def hasOwnProperty(v: String): Boolean

    Tests whether this object has the specified property as a direct property.

    Tests whether this object has the specified property as a direct property.

    Unlike js.Object.hasProperty, this method does not check down the object's prototype chain.

    MDN

    Definition Classes
    Object
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def isPrototypeOf(v: Object): Boolean

    Tests whether this object is in the prototype chain of another object.

    Tests whether this object is in the prototype chain of another object.

    Definition Classes
    Object
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def propertyIsEnumerable(v: String): Boolean

    Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain.

    Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain.

    If the object does not have the specified property, this method returns false.

    MDN

    Definition Classes
    Object
  35. def setFloat32(byteOffset: Int, value: Float, littleEndian: Boolean = false): Unit
  36. def setFloat64(byteOffset: Int, value: Double, littleEndian: Boolean = false): Unit
  37. def setInt16(byteOffset: Int, value: Short, littleEndian: Boolean = false): Unit
  38. def setInt32(byteOffset: Int, value: Int, littleEndian: Boolean = false): Unit
  39. def setInt8(byteOffset: Int, value: Byte): Unit
  40. def setUint16(byteOffset: Int, value: Int, littleEndian: Boolean = false): Unit
  41. def setUint32(byteOffset: Int, value: Double, littleEndian: Boolean = false): Unit
  42. def setUint8(byteOffset: Int, value: Short): Unit
  43. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  44. def toLocaleString(): String
    Definition Classes
    Object
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. def valueOf(): scala.Any
    Definition Classes
    Object
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  50. def [B](y: B): (DataView, B)
    Implicit
    This member is added by an implicit conversion from DataView to ArrowAssoc[DataView] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from DataView to StringFormat[DataView] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

Inherited from ArrayBufferView

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from scala.Any

Inherited by implicit conversion any2stringadd from DataView to any2stringadd[DataView]

Inherited by implicit conversion StringFormat from DataView to StringFormat[DataView]

Inherited by implicit conversion Ensuring from DataView to Ensuring[DataView]

Inherited by implicit conversion ArrowAssoc from DataView to ArrowAssoc[DataView]

Ungrouped