toggle menu
Kotlin-nRF Mesh-Library
jvm
switch theme
search in API
core
/
no.nordicsemi.kotlin.mesh.core.util
/
Utils
/
toShort
to
Short
fun
ByteArray
.
toShort
(
)
:
Short
Converts a 2-byte array to a Short.
Return
Short.
Throws
Illegal
Argument
Exception
If the length of byte array is not 2.