Float64Array

open external class Float64Array : ArrayBufferView (source)

Platform and version requirements: JS

Exposes the JavaScript Float64Array to Kotlin

Constructors

<init>

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

subarray

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

Companion Object Properties

BYTES_PER_ELEMENT

val BYTES_PER_ELEMENT: Int

Extension Functions

get

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

set

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