Struct Address6
IPv6 internet address.
Constructors
Name | Description |
this
(address, scopeID)
|
Constructs an Address6 from an array containing raw bytes
in network byte order and scope ID.
|
Fields
Name | Type | Description |
scopeID
|
uint | Scope ID.
|
Methods
Name | Description |
isAny
()
|
:: can represent any address. This function checks whether this
address is ::.
|
isLinkLocal
()
|
Determines whether this address is a link-local unicast address.
|
isLoopback
()
|
Loopback address is ::1.
|
isMulticast
()
|
Determines whether this address' destination is a group of endpoints.
|
isUnicast
()
|
Determines whether this address' destination is a single endpoint.
|
isUniqueLocal
()
|
Determines whether this address is an Unique Local Address (ULA).
|
opCmp
(that)
|
Compares two Address6 objects.
|
stringify
()
|
Returns text representation of this address.
|
toBytes
()
|
Produces a byte array containing this address in network byte order.
|
toString
(output)
|
Writes text representation of this address to an output range.
|