toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.util.primitives
/
com.shakelang.util.primitives.bytes
/
setLong
set
Long
fun
ByteArray
.
setLong
(
index
:
Int
,
long
:
Long
)
:
ByteArray
(
source
)
fun
MutableList
<
Byte
>
.
setLong
(
index
:
Int
,
long
:
Long
)
:
MutableList
<
Byte
>
(
source
)
Set specific bytes in a byte array to a long
Return
the byte array
Since
0.1.0
Throws
Illegal
Argument
Exception
if the array is not big enough