asUintN

fun asUintN(bits: Int, int: BigInt): BigInt(source)

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

Parameters

bits

The number of low bits to use

int

The BigInt whose bits to extract