setLongBE

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

Sets a 64-bit long into this ByteArray in big-endian order.

Parameters

offset

the start index in the array.

value

the long value to write.