scala.scalajs.js.typedarray

Uint16Array

class Uint16Array extends Object with TypedArray[Int, Uint16Array]

Annotations
@RawJSType()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Uint16Array
  2. TypedArray
  3. ArrayBufferView
  4. Object
  5. Any
  6. AnyRef
  7. Any
Implicitly
  1. by TA2AC
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

    Creates a Uint16Array view on the given ArrayBuffer

  2. new Uint16Array(array: Array[_])

    Creates a new Uint16Array with the elements in the given array

  3. new Uint16Array(typedArray: TypedArray[_, _])

    Creates a new Uint16Array with the same elements than the given TypedArray

    Creates a new Uint16Array with the same elements than the given TypedArray

    The elements are converted before being stored in the new Int8Array.

  4. new Uint16Array(length: Int)

    Constructs a Uint16Array with the given length.

    Constructs a Uint16Array with the given length. Initialized to all 0

Value Members

  1. final def !=(arg0: scala.Any): scala.Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def +(other: Predef.String): Predef.String

    Implicit information
    This member is added by an implicit conversion from Uint16Array to any2stringadd[Uint16Array] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Uint16Array, B)

    Implicit information
    This member is added by an implicit conversion from Uint16Array to ArrowAssoc[Uint16Array] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: scala.Any): scala.Boolean

    Definition Classes
    AnyRef → Any
  6. def apply(index: Int): Int

    Retrieve element at index

    Retrieve element at index

    Definition Classes
    TypedArray
    Annotations
    @JSBracketAccess()
  7. val array: Uint16Array

    Implicit information
    This member is added by an implicit conversion from Uint16Array to TA2AC performed by method TA2AC in scala.scalajs.js.typedarray.
    Definition Classes
    TA2AC
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. val buffer: ArrayBuffer

    The underlying buffer of this ArrayBufferView

    The underlying buffer of this ArrayBufferView

    Definition Classes
    ArrayBufferView
  10. val byteLength: Int

    The number of bytes of this ArrayBufferView

    The number of bytes of this ArrayBufferView

    Definition Classes
    ArrayBufferView
  11. val byteOffset: Int

    The offset of this ArrayBufferView in the underlying buffer

    The offset of this ArrayBufferView in the underlying buffer

    Definition Classes
    ArrayBufferView
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def ensuring(cond: (Uint16Array) ⇒ scala.Boolean, msg: ⇒ scala.Any): Uint16Array

    Implicit information
    This member is added by an implicit conversion from Uint16Array to Ensuring[Uint16Array] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (Uint16Array) ⇒ scala.Boolean): Uint16Array

    Implicit information
    This member is added by an implicit conversion from Uint16Array to Ensuring[Uint16Array] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: scala.Boolean, msg: ⇒ scala.Any): Uint16Array

    Implicit information
    This member is added by an implicit conversion from Uint16Array to Ensuring[Uint16Array] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: scala.Boolean): Uint16Array

    Implicit information
    This member is added by an implicit conversion from Uint16Array to Ensuring[Uint16Array] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): scala.Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def formatted(fmtstr: Predef.String): Predef.String

    Implicit information
    This member is added by an implicit conversion from Uint16Array to StringFormat[Uint16Array] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. def get(index: Int): Int

    Retrieve element at index

    Retrieve element at index

    Definition Classes
    TypedArray
    Annotations
    @JSBracketAccess()
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. 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
  24. def hashCode(): Int

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

    Definition Classes
    Any
  26. 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
  27. val length: Int

    The number of elements in this TypedArray

    The number of elements in this TypedArray

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

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

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

    Definition Classes
    AnyRef
  31. 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
  32. def set(array: Array[_], offset: Int): Unit

    Set the values from array in this TypedArray at given offset

    Set the values from array in this TypedArray at given offset

    Definition Classes
    TypedArray
  33. def set(array: Array[_]): Unit

    Set the values from array in this TypedArray

    Set the values from array in this TypedArray

    Definition Classes
    TypedArray
  34. def set(typedArray: TypedArray[_, _], offset: Int): Unit

    Set the values of typedArray in this TypedArray at given offset

    Set the values of typedArray in this TypedArray at given offset

    Definition Classes
    TypedArray
  35. def set(typedArray: TypedArray[_, _]): Unit

    Set the values of typedArray in this TypedArray

    Set the values of typedArray in this TypedArray

    Definition Classes
    TypedArray
  36. def set(index: Int, value: Int): Unit

    Set element at index

    Set element at index

    Definition Classes
    TypedArray
    Annotations
    @JSBracketAccess()
  37. def subarray(begin: Int, end: Int = ???): Uint16Array

    Create a new TypedArray view of this TypedArray at given location

    Create a new TypedArray view of this TypedArray at given location

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

    Definition Classes
    AnyRef
  39. def toArray: scala.Array[Char]

    Implicit information
    This member is added by an implicit conversion from Uint16Array to TA2AC performed by method TA2AC in scala.scalajs.js.typedarray.
    Definition Classes
    TA2AC
  40. def toLocaleString(): String

    Definition Classes
    Object
  41. def toString(): java.lang.String

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

    Set element at index

    Set element at index

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def [B](y: B): (Uint16Array, B)

    Implicit information
    This member is added by an implicit conversion from Uint16Array to ArrowAssoc[Uint16Array] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def unary_!(): Boolean

    Definition Classes
    Any
    Annotations
    @deprecated
    Deprecated

    (Since version 0.5.0)

Inherited from TypedArray[Int, Uint16Array]

Inherited from ArrayBufferView

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from scala.Any

Inherited by implicit conversion TA2AC from Uint16Array to TA2AC

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

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

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

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

Ungrouped