class Uint16Array extends Object with TypedArray[Int, Uint16Array]
ECMAScript 6 A TypedArray of unsigned 16-bit integers
- Alphabetic
- By Inheritance
- Uint16Array
- TypedArray
- ArrayBufferView
- Object
- Any
- AnyRef
- Any
- by TA2AC
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Uint16Array(buffer: ArrayBuffer, byteOffset: Int = 0, length: Int = ???)
Creates a Uint16Array view on the given ArrayBuffer
-
new
Uint16Array(array: Array[_])
Creates a new Uint16Array with the elements in the given array
-
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.
-
new
Uint16Array(length: Int)
Constructs a Uint16Array with the given length.
Constructs a Uint16Array with the given length. Initialized to all 0
Value Members
-
final
def
!=(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from Uint16Array to any2stringadd[Uint16Array] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (Uint16Array, B)
- Implicit
- 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()
-
final
def
==(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(index: Int): Int
Retrieve element at index
Retrieve element at index
- Definition Classes
- TypedArray
- Annotations
- @JSBracketAccess()
-
val
array: Uint16Array
- Implicit
- This member is added by an implicit conversion from Uint16Array to TA2AC performed by method TA2AC in scala.scalajs.js.typedarray.
- Definition Classes
- TA2AC
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
buffer: ArrayBuffer
The underlying buffer of this ArrayBufferView
The underlying buffer of this ArrayBufferView
- Definition Classes
- ArrayBufferView
-
val
byteLength: Int
The number of bytes of this ArrayBufferView
The number of bytes of this ArrayBufferView
- Definition Classes
- ArrayBufferView
-
val
byteOffset: Int
The offset of this ArrayBufferView in the underlying buffer
The offset of this ArrayBufferView in the underlying buffer
- Definition Classes
- ArrayBufferView
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
ensuring(cond: (Uint16Array) ⇒ Boolean, msg: ⇒ scala.Any): Uint16Array
- Implicit
- This member is added by an implicit conversion from Uint16Array to Ensuring[Uint16Array] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (Uint16Array) ⇒ Boolean): Uint16Array
- Implicit
- This member is added by an implicit conversion from Uint16Array to Ensuring[Uint16Array] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ scala.Any): Uint16Array
- Implicit
- This member is added by an implicit conversion from Uint16Array to Ensuring[Uint16Array] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): Uint16Array
- Implicit
- This member is added by an implicit conversion from Uint16Array to Ensuring[Uint16Array] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- 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()
-
def
get(index: Int): Int
Retrieve element at index
Retrieve element at index
- Definition Classes
- TypedArray
- Annotations
- @JSBracketAccess()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
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
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
val
length: Int
The number of elements in this TypedArray
The number of elements in this TypedArray
- Definition Classes
- TypedArray
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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
-
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
-
def
set(array: Array[_]): Unit
Set the values from array in this TypedArray
Set the values from array in this TypedArray
- Definition Classes
- TypedArray
-
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
-
def
set(typedArray: TypedArray[_, _]): Unit
Set the values of typedArray in this TypedArray
Set the values of typedArray in this TypedArray
- Definition Classes
- TypedArray
-
def
set(index: Int, value: Int): Unit
Set element at index
Set element at index
- Definition Classes
- TypedArray
- Annotations
- @JSBracketAccess()
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toArray: scala.Array[Char]
- Implicit
- This member is added by an implicit conversion from Uint16Array to TA2AC performed by method TA2AC in scala.scalajs.js.typedarray.
- Definition Classes
- TA2AC
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
update(index: Int, value: Int): Unit
Set element at index
Set element at index
- Definition Classes
- TypedArray
- Annotations
- @JSBracketAccess()
-
def
valueOf(): scala.Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (Uint16Array, B)
- Implicit
- This member is added by an implicit conversion from Uint16Array to ArrowAssoc[Uint16Array] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc