method
mask
v1_9_1_378 -
Show latest stable
- Class:
IPAddr
mask(prefixlen)public
Returns a new ipaddr built by masking IP address with the given prefixlen/netmask. (e.g. 8, 64, “255.255.255.0”, etc.)
mask(prefixlen)Returns a new ipaddr built by masking IP address with the given prefixlen/netmask. (e.g. 8, 64, “255.255.255.0”, etc.)