Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-js
/
js.typedarrays
/
Int16Array
/
Companion
Companion
object
Companion
:
TypedArrayCompanion
<
Int16Array
<
ArrayBuffer
>
,
JsShort
>
(
source
)
Members
Properties
BYTES_
PER_
ELEMENT
Link copied to clipboard
val
BYTES_PER_ELEMENT
:
Int
Functions
from
Link copied to clipboard
fun
from
(
source
:
ArrayLike
<
JsShort
>
)
:
Int16Array
<
ArrayBuffer
>
fun
<
U
:
JsAny
>
from
(
source
:
ArrayLike
<
U
>
,
transform
:
(
item
:
U
,
index
:
Int
)
->
JsShort
)
:
Int16Array
<
ArrayBuffer
>
of
Link copied to clipboard
fun
of
(
vararg
items
:
JsShort
)
:
Int16Array
<
ArrayBuffer
>