of

Returns a BigInteger whose value is equal to that of the specified long.

Return

a BigInteger with the specified value.

Parameters

value

value of the BigInteger to return.


fun of(value: Int): BigInteger
fun of(value: String, radix: Int): BigInteger
fun of(signum: Int, magnitude: ByteArray, off: Int, len: Int): BigInteger


Returns a BigInteger with the given two's complement representation. Assumes that the input array will not be modified (the returned BigInteger will reference the input array if feasible).