- Companion
- class
Value members
Concrete methods
Constructs a CIDR from the supplied IP address and prefix bit count.
Note if prefixBits
is less than 0, the built Cidr
will have prefixBits
set to 0. Similarly,
if prefixBits
is greater than the bit length of the address, it will be set to the bit length of the address.
Constructs a CIDR from the supplied IP address and prefix bit count.
Note if prefixBits
is less than 0, the built Cidr
will have prefixBits
set to 0. Similarly,
if prefixBits
is greater than the bit length of the address, it will be set to the bit length of the address.
Constructs a CIDR from a string of the form ip/prefixBits
.
Constructs a CIDR from a string of the form ip/prefixBits
.
Constructs a CIDR from a string of the form ipv4/prefixBits
.
Constructs a CIDR from a string of the form ipv4/prefixBits
.