ipv4AddressCount
ipv4AddressCount(
prefix):number
Defined in: packages/net-address/src/ipv4/ipv4-prefix.ts:88
How many addresses the prefix covers, including network and broadcast.
Parameters
Section titled “Parameters”prefix
Section titled “prefix”Returns
Section titled “Returns”number
Throws
Section titled “Throws”RangeError When the prefix is not over a 32-bit address.