ArrayBuffer

open external class ArrayBuffer(length: Int) : BufferDataSource

Exposes the JavaScript ArrayBuffer to Kotlin

Constructors

ArrayBuffer
Link copied to clipboard
JS
fun ArrayBuffer(length: Int)

Types

Companion
Link copied to clipboard
JS
object Companion

Functions

slice
Link copied to clipboard
JS
fun slice(begin: Int, end: Int = definedExternally): ArrayBuffer

Properties

byteLength
Link copied to clipboard
JS
open val byteLength: Int