Companion

object Companion

Properties

Link copied to clipboard
val ONE: BigInt
Link copied to clipboard
val TWO: BigInt
Link copied to clipboard

Functions

Link copied to clipboard
fun fromBytes(bytes: ByteArray, offset: Int = 0, length: Int = bytes.size - offset): BigInt

Parse a big-endian unsigned byte array (any length, leading zeros allowed).

Link copied to clipboard
fun fromHex(hex: String): BigInt

Parse a hex string (no 0x prefix).

Link copied to clipboard
fun fromInt(v: Int): BigInt
Link copied to clipboard