Int16Array

open external class Int16Array : ArrayBufferView

Exposes the JavaScript Int16Array to Kotlin

Constructors

Link copied to clipboard
fun Int16Array(length: Int)
Link copied to clipboard
Link copied to clipboard
fun Int16Array(array: Array<Short>)
Link copied to clipboard
fun Int16Array(    buffer: ArrayBuffer,     byteOffset: Int = definedExternally,     length: Int = definedExternally)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun set(array: Array<Short>, offset: Int = definedExternally)
fun set(array: Int16Array, offset: Int = definedExternally)
Link copied to clipboard
fun subarray(start: Int, end: Int): Int16Array

Properties

Link copied to clipboard
open override val buffer: ArrayBuffer
Link copied to clipboard
open override val byteLength: Int
Link copied to clipboard
open override val byteOffset: Int
Link copied to clipboard
open val length: Int

Extensions

Link copied to clipboard
inline operator fun Int16Array.get(index: Int): Short
Link copied to clipboard
inline operator fun Int16Array.set(index: Int, value: Short)