tuweni / org.apache.tuweni.units.bigints / UInt384Value / toLong

toLong

open fun toLong(): Long (source)

Returns this value as a long.

Exceptions

ArithmeticException - If the value does not fit a long, that is if !fitsLong().

Return
Long: This value as a java long assuming it is small enough to fit a long.