Float64Array

JS
1.1
open class Float64Array : ArrayBufferView

Exposes the JavaScript Float64Array to Kotlin

Constructors

JS
1.1

<init>

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

subarray

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

Companion Object Properties

JS
1.1

BYTES_PER_ELEMENT

val BYTES_PER_ELEMENT: Int

Extension Functions

JS
1.1

get

operator fun Float64Array.get(index: Int): Double
JS
1.1

set

operator fun Float64Array.set(index: Int, value: Double)