toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.typedarrays
/
Uint16Array
/
Companion
Companion
object
Companion
:
TypedArrayCompanion
<
Uint16Array
<
ArrayBuffer
>
,
Short
>
(
source
)
Members
Properties
BYTES_PER_ELEMENT
Link copied to clipboard
val
BYTES_PER_ELEMENT
:
Int
Functions
from
Link copied to clipboard
fun
<
T
>
from
(
source
:
ArrayLike
<
T
>
)
:
Uint16Array
<
ArrayBuffer
>
fun
<
U
>
from
(
source
:
ArrayLike
<
U
>
,
transform
:
(
item
:
U
,
index
:
Int
)
->
Short
)
:
Uint16Array
<
ArrayBuffer
>
of
Link copied to clipboard
fun
of
(
vararg
items
:
Short
)
:
Uint16Array
<
ArrayBuffer
>