Represents an IPv4 address
An IPv4 address string
Optional
Returns true if the address is correct, false otherwise
Address4
Returns true if the given address is in the subnet of the current address
Helper function getting end address.
Helper function getting start address.
Returns the address as a BigInteger
Returns a zero-padded base-2 string representation of the address
Returns the correct form of an address
The last address in the range given by this address' subnet Often referred to as the Broadcast
The last host address in the range given by this address's subnet ie the last address prior to the Broadcast Address
Returns the bits in the given range as a base-2 string
Groups an IPv4 address for inclusion at the end of an IPv6 address
Returns true if the given address is a multicast address
Returns the first n bits of the address, defaulting to the subnet mask
The first address in the range given by this address' subnet. Often referred to as the Network Address.
The first host address in the range given by this address's subnet ie the first address after the Network Address
Converts an IPv4 address object to an array of bytes
Converts an IPv4 address object to an IPv6 address group
Converts an IPv4 address object to a hex string
Static
Converts a BigInteger to a v4 address object
a BigInteger to convert
Converts a hex string to an IPv4 address object
a hex string to convert
Converts an integer into a IPv4 address object
a number to convert
Generated using TypeDoc
Represents an IPv4 address
Param
An IPv4 address string