static fun valueOf(value: Long): UInt256 (source)
Return a UInt256 containing the specified value.
value - The value to create a UInt256 for.
IllegalArgumentException - If the value is negative.
Return
A UInt256 containing the specified value.
static fun valueOf(value: BigInteger): UInt256 (source)
Return a UInt256 containing the specified value.
value - the value to create a UInt256 for
IllegalArgumentException - if the value is negative or too large to be represented as a UInt256
Return
a UInt256 containing the specified value