FromString()
Converts the IPv4 CIDR string to binary. The string format uses quad-dotted notation of four bytes in the address with the length of prefix (e.g., "127.0.0.1/32").
ToString() const
Converts the IPv4 CIDR to a string. The string format uses quad-dotted notation of four bytes in the address with the length of prefix (e.g., "127.0.0.1/32"). If the resulting string does not fit in @p aBuffer (within its @p aSize characters), the string will be truncated but the outputted string is always null-terminated.
ToString() const
Converts the IPv4 CIDR to a string. The string format uses quad-dotted notation of four bytes in the address with the length of prefix (e.g., "127.0.0.1/32"). If the resulting string does not fit in @p aBuffer (within its @p aSize characters), the string will be truncated but the outputted string is always null-terminated.
GetBytes() const
Gets the prefix as a pointer to a byte array.
operator() const
Overloads operator `==` to evaluate whether or not two prefixes are equal.
Set()
Sets the CIDR.
HostMask() const
SubnetMask() const
ToString() const
Converts the IPv4 CIDR to a string. The string format uses quad-dotted notation of four bytes in the address with the length of prefix (e.g., "127.0.0.1/32"). If the resulting string does not fit in @p aBuffer (within its @p aSize characters), the string will be truncated but the outputted string is always null-terminated.