Uint16Array

Exposes the JavaScript Uint16Array to Kotlin

Constructors

Link copied to clipboard
constructor(length: Int)
constructor(array: Uint16Array)
constructor(array: JsArray<JsNumber>)
constructor(buffer: ArrayBuffer, byteOffset: Int, length: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val buffer: ArrayBuffer
Link copied to clipboard
open override val byteLength: Int
Link copied to clipboard
open override val byteOffset: Int
Link copied to clipboard
open val length: Int

Functions

Link copied to clipboard
fun set(array: JsArray<JsNumber>, offset: Int)
fun set(array: Uint16Array, offset: Int)
Link copied to clipboard
fun subarray(start: Int, end: Int): Uint16Array