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

toLong

open fun toLong(): Long (source)

Exceptions

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

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