Companion

Functions

Link copied to clipboard
fun asIntN(bits: Int, int: BigInt): BigInt

Interprets the low bits of a BigInt as a 2's-complement signed integer. All higher bits are discarded.

Link copied to clipboard
fun asUintN(bits: Int, int: BigInt): BigInt

Interprets the low bits of a BigInt as an unsigned integer. All higher bits are discarded.