setLongLE

fun ByteArray.setLongLE(offset: Int, value: Long)

Writes a 64-bit long into the byte array at the given offset in little-endian order.

Parameters

offset

the start index in the array.

value

the long value to write.