setShort

fun ByteArray.setShort(index: Int, short: Short): ByteArray(source)

Set specific bytes in a byte array to a short

Return

the byte array

Since

0.1.0

Throws

if the array is not big enough