units / org.apache.tuweni.units.bigints / UInt32Value / addExact

addExact

open fun addExact(value: T): T (source)
open fun addExact(value: Int): T (source)

Returns a value that is (this + value).

Parameters

value - the amount to be added to this value

Exceptions

ArithmeticException - if the result of the addition overflows

Return
this + value