setIntBE

fun ByteArray.setIntBE(offset: Int, value: Int)

Sets a 32-bit integer into this ByteArray in big-endian order.

Return

the written integer value.

Parameters

offset

the start index in the array.

value

the integer value to write.