Pike v8.1 release 6

Method NetUtils.NetMask()->cast()


Method cast

(int)NetUtils.NetMask()
(float)NetUtils.NetMask()
(string)NetUtils.NetMask()
(array)NetUtils.NetMask()
(mapping)NetUtils.NetMask()
(multiset)NetUtils.NetMask()

Description

Convert to either a string (back to CIDR notation) or an array (net,mask)