Int16Array
Constructors
<init>
Int16Array(length: Int)
Int16Array(array: Int16Array)
Int16Array(array: Array<Short>)
Int16Array(
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: Int16Array, offset: Int = definedExternally)
fun set(array: Array<Short>, offset: Int = definedExternally)
subarray
fun subarray(start: Int, end: Int): Int16Array
Companion Object Properties
BYTES_PER_ELEMENT
val BYTES_PER_ELEMENT: Int
Extension Functions
get
operator fun Int16Array.get(index: Int): Short
set
operator fun Int16Array.set(index: Int, value: Short)