tuweni / org.apache.tuweni.bytes / MutableBytes / setLong

setLong

open fun setLong(i: Int, value: Long): Unit (source)

Set the 8 bytes starting at the specified index to the specified long value.

Parameters

i - Int: The index, which must less than or equal to size() - 8.

value - Long: The long value.

Exceptions

IndexOutOfBoundsException - if i < 0 or i > size() - 8.