Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-js
/
js.typedarrays
/
Float16Array
/
Companion
Companion
object
Companion
:
TypedArrayCompanion
<
Float16Array
<
ArrayBuffer
>
,
JsFloat16
>
(
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
<
JsFloat16
>
)
:
Float16Array
<
ArrayBuffer
>
fun
<
U
:
JsAny
>
from
(
source
:
ArrayLike
<
U
>
,
transform
:
(
item
:
U
,
index
:
Int
)
->
JsFloat16
)
:
Float16Array
<
ArrayBuffer
>
of
Link copied to clipboard
fun
of
(
vararg
items
:
JsFloat16
)
:
Float16Array
<
ArrayBuffer
>