bitAddressToBigInt
bitAddressToBigInt(
address):bigint
Defined in: packages/net-address/src/prefix/bit-address.ts:136
The unsigned big-endian value of the whole address. O(1).
Unsigned, deliberately: @ac-kit/core’s bigIntFromBytesBe reads the same
octets as two’s complement, so it answers -1n for 255.255.255.255 where
an address means 4294967295. An address is a bit string with no sign bit, and
the two encodings are not interchangeable.
Parameters
Section titled “Parameters”address
Section titled “address”Returns
Section titled “Returns”bigint