Constructor for an instance of IPv4 prefix from a decimal number
the decimal value to construct the IPv4 prefix from.
the instance of an IPv4 prefix
The decimal value of the 8bit number representing the prefix
Gets the decimal value of the IPv4 prefix
the decimal value of the IPv4 prefix
Returns a prefix for when this prefix is merged with another prefix of the same size
Returns a prefix for when this prefix is split into two equal halves
Returns the size (number of IP numbers) of range of this prefix
the size (number of IP numbers) of range of this prefix
Gets the decimal value of the IPv4 prefix as string
The decimal value of the IPv4 prefix as string
Convenience method for constructing an instance of IPv4 prefix from a decimal number
the decimal value to construct the IPv4 prefix from.
the instance of an IPv4 prefix
Generated using TypeDoc
Represents the prefix portion in the CIDR notation for representing IP ranges
The IPv4 prefix portion represents the mask. It is the number of continuous bits turned on (with value 1) counting from the left side of an 8 bit value.
{@see https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing} for more information on CIDR