Uint32Array

JS
1.1
open class Uint32Array : ArrayBufferView

Exposes the JavaScript Uint32Array to Kotlin

Constructors

JS
1.1

<init>

Uint32Array(length: Int)
Uint32Array(array: Uint32Array)
Uint32Array(array: Array<Int>)
Uint32Array(
    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: Uint32Array, offset: Int = definedExternally)
fun set(array: Array<Int>, offset: Int = definedExternally)
JS
1.1

subarray

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

Companion Object Properties

JS
1.1

BYTES_PER_ELEMENT

val BYTES_PER_ELEMENT: Int

Extension Functions

JS
1.1

get

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

set

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