Uint16Array
Constructors
<init>
Uint16Array(length: Int)
Uint16Array(array: Uint16Array)
Uint16Array(array: Array<Short>)
Uint16Array(
buffer: ArrayBuffer,
byteOffset: Int = definedExternally,
length: Int = definedExternally)
Properties
buffer
open val buffer: ArrayBuffer
byteLength
open val byteLength: Int
byteOffset
open val byteOffset: Int
length
open val length: Int
Functions
set
fun set(array: Uint16Array, offset: Int = definedExternally)
fun set(array: Array<Short>, offset: Int = definedExternally)
subarray
fun subarray(start: Int, end: Int): Uint16Array
Companion Object Properties
BYTES_PER_ELEMENT
val BYTES_PER_ELEMENT: Int
Extension Functions
get
operator fun Uint16Array.get(index: Int): Short
set
operator fun Uint16Array.set(index: Int, value: Short)