Int32Array

JS
1.1
open class Int32Array : ArrayBufferView

Exposes the JavaScript Int32Array to Kotlin

Constructors

JS
1.1

<init>

Int32Array(length: Int)
Int32Array(array: Int32Array)
Int32Array(array: Array<Int>)
Int32Array(
    buffer: ArrayBuffer,
    byteOffset: Int = definedExternally,
    length: Int = definedExternally)

Properties

JS
1.1

buffer

open val buffer: ArrayBuffer
JS
1.1

byteLength

open val byteLength: Int
JS
1.1

byteOffset

open val byteOffset: Int
JS
1.1

length

open val length: Int

Functions

JS
1.1

set

fun set(array: Int32Array, offset: Int = definedExternally)
fun set(array: Array<Int>, offset: Int = definedExternally)
JS
1.1

subarray

fun subarray(start: Int, end: Int): Int32Array

Companion Object Properties

JS
1.1

BYTES_PER_ELEMENT

val BYTES_PER_ELEMENT: Int

Extension Functions

JS
1.1

get

operator fun Int32Array.get(index: Int): Int
JS
1.1

set

operator fun Int32Array.set(index: Int, value: Int)