setByte

fun ByteArray.setByte(index: Int, byte: Byte): ByteArray(source)

Set specific bytes in a byte array to a byte

Return

the byte array

Since

0.1.0

Throws

if the array is not big enough


Set specific bytes in a byte array to a byte

Return

the byte array

Since

0.1.0

Throws

if the array is not of size 1