getBytes

fun ByteArray.getBytes(index: Int, length: Int): ByteArray(source)

Get specific bytes from a byte array at a given position

Return

the byte array

Since

0.1.0

Throws

if the array is not big enough


fun List<Byte>.getBytes(index: Int, length: Int): ByteArray(source)

Get a byte array from a byte array

Return

the byte array

Since

0.1.0

Throws

if the array is not big enough