Data View
open external class DataView(buffer: ArrayBuffer, byteOffset: Int, byteLength: Int) : ArrayBufferView
Content copied to clipboard
Exposes the JavaScript DataView to Kotlin
Constructors
DataView
Link copied to clipboard
fun DataView(buffer: ArrayBuffer, byteOffset: Int = definedExternally, byteLength: Int = definedExternally)
Content copied to clipboard
Functions
get Float32
Link copied to clipboard
fun getFloat32(byteOffset: Int, littleEndian: Boolean = definedExternally): Float
Content copied to clipboard
get Float64
Link copied to clipboard
fun getFloat64(byteOffset: Int, littleEndian: Boolean = definedExternally): Double
Content copied to clipboard
set Float32
Link copied to clipboard
fun setFloat32(byteOffset: Int, value: Float, littleEndian: Boolean = definedExternally)
Content copied to clipboard
set Float64
Link copied to clipboard
fun setFloat64(byteOffset: Int, value: Double, littleEndian: Boolean = definedExternally)
Content copied to clipboard
Properties
buffer
Link copied to clipboard
byteLength
Link copied to clipboard
byteOffset
Link copied to clipboard