Parsing from string and network mask bits.
Creating from raw data
Returns address without mask
Casting to native D type, but mask is thrown away.
Serializing to BSON. Address and mask are holded separatly.
Converts to string like 'address/mast'
Deserializing from BSON.
Struct holds PostgreSQL 'cidr' and 'inet' data types. Supports IPv4 and IPv6 with explicit mask designation (CIDR model).