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