hexToBigInteger

fun String.hexToBigInteger(): BigInteger

Converts a hex string (with or without 0x prefix) to BigInteger.

Return

BigInteger representation of the hex string