org.scalajs.dom

Int16Array

class Int16Array extends Object with ArrayBufferView with TypedArray[Int16Array]

An array of signed short integers.

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

Instance Constructors

  1. new Int16Array(buffer: ArrayBuffer, byteOffset: Int = ???, length: Int = ???)

    Construct a new array with buffer as storage, using a view from the specified byteOffset with the given length.

  2. new Int16Array(array: Array[Int])

    Construct a new array with a copy of the provided array.

    Construct a new array with a copy of the provided array. The underlying ArrayBuffer is newly created.

  3. new Int16Array(array: Int16Array)

    Construct a new array with a copy of the provided array.

    Construct a new array with a copy of the provided array. The underlying ArrayBuffer is newly created.

  4. new Int16Array(length: Int)

    Construct a new array of the given length, with contents initialized to 0.

    Construct a new array of the given length, with contents initialized to 0. The underlying ArrayBuffer is newly created.

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 apply(index: Int): Double

    Definition Classes
    TypedArray
    Annotations
    @JSBracketAccess()
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. val buffer: ArrayBuffer

    The source buffer for this view.

    The source buffer for this view.

    Definition Classes
    ArrayBufferView
  7. def byteLength: Int

    The length, in bytes of this view.

    The length, in bytes of this view.

    Definition Classes
    ArrayBufferView
  8. 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
  9. def clone(): AnyRef

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

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

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

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

    Definition Classes
    AnyRef → Any
  14. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  15. def hashCode(): Int

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

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

    Definition Classes
    Object
  18. val length: Int

    The number of entries in this typed array.

    The number of entries in this typed array.

    Definition Classes
    TypedArray
  19. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    Object
  23. def set(array: Array[Int], offset: Int = ???): Unit

    Copies the contents of array into this array, starting at offset.

    Copies the contents of array into this array, starting at offset.

    Definition Classes
    TypedArray
  24. def set(array: Int16Array, offset: Int): Unit

    Copies the contents of array into this array, starting at offset.

    Copies the contents of array into this array, starting at offset.

    Definition Classes
    TypedArray
  25. def set(array: Int16Array): Unit

    Copies the contents of array into this array, starting at offset.

    Copies the contents of array into this array, starting at offset.

    Definition Classes
    TypedArray
  26. def subarray(begin: Int, end: Int = ???): Int16Array

    Returns a new view of this typed array.

    Returns a new view of this typed array. from begin to end inclusive.

    Definition Classes
    TypedArray
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toLocaleString(): String

    Definition Classes
    Object
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. def update(index: Int, value: Double): Unit

    Definition Classes
    TypedArray
    Annotations
    @JSBracketAccess()
  31. def valueOf(): Any

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. 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 TypedArray[Int16Array]

Inherited from ArrayBufferView

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped