setInt

fun ByteArray.setInt(index: Int, int: Int): ByteArray(source)

Set specific bytes in a byte array to an int

Return

the byte array

Since

0.1.0

Throws

if the array is not big enough