setBytes

fun ByteArray.setBytes(startIndex: Int, bytes: ByteArray): ByteArray(source)

Set specific bytes in a byte array to a byte array

Return

the byte array

Since

0.1.0

Throws

if the array is not of size 1


fun MutableList<Byte>.setBytes(startIndex: Int, bytes: List<Byte>): MutableList<Byte>(source)

Set specific bytes in a byte array to a byte List

Return

the byte array

Since

0.1.0

Throws

if the array is not of size 1