Constructor for an IPv6 number.
value to construct an IPv6 from. The given value can either be numeric or string. If a string is given then it needs to be in hexadecatet string notation
The number of bits needed to represents the value of the IPv6 number
An array of Hexadecatet's
The maximum bit size (i.e. binary value) of the IPv6 number in BigInteger
The string character used to separate the individual hexadecatet when the IPv6 is rendered as strings
The type of IP number. Value is one of the values of the IPNumType enum
The decimal value represented by the IPv6 number in BigInteger
Gets the individual Hexadecatet that makes up the IPv6 number
The individual Hexadecatet that makes up the IPv6 number
Gets the numeric value of an IP number as {@link BigInteger}
the numeric value of an IP number.
Checks if an IP number has a value greater than the present value
true, if there is a value greater than the present value. Returns false otherwise.
Checks if an IP number has a value lesser than the present value
true, if there is a value lesser than the present value. Returns false otherwise.
Checks if the given IP number, is equals to the current IP number
the other IP number to compare with
true if the given IP number is equals
Checks if the given IP number is greater than this current IP number
the other IP number to compare with
true if the given IP number is greater than this current one. False otherwise.
Checks if the given IP number is greater than or equals to this current IP number
the other IP number to compare with
{boolean} true if the given IP number is greater than or equals to this current one. False otherwise.
Checks if the given IP number is lesser than this current IP number
the other IP number to compare with
true if the given IP number is less than this current one. False otherwise.
Checks if the given IP number is less than or equals to this current IP number
the other IP number to compare with
true if the given IP number is less than or equals to this current one. False otherwise.
Returns the next IPv6 number
the next IPv6 number
Returns the previous IPv6 number
the previous IPv6 number
Gets the binary string representation of an IP number.
the string binary representation.
A string representation of the IPv6 number.
The string representation of IPv6
A convenience method for creating an IPv6 by providing the IP number in hexadecatet notation. E.g "2001:800:0:0:0:0:0:2002"
{@see https://en.wikipedia.org/wiki/IPv6_address#Representation} for more information on hexadecatet notation.
the IP number in hexadecatet
the IPv6 instance
Alias for IPv6.fromHexadecimalString
the IP number in hexadecatet
the IPv6 instance
Generated using TypeDoc
Represents an IPv6 number. A 128 bit number that is used to uniquely identify a device that is part of a computer network that uses the internet protocol for communication.
https://en.wikipedia.org/wiki/IPv6
https://www.rfc-editor.org/info/rfc8200