Struct Address6

IPv6 internet address.

struct Address6 ;

Constructors

NameDescription
this (address, scopeID) Constructs an Address6 from an array containing raw bytes in network byte order and scope ID.

Fields

NameTypeDescription
scopeID uintScope ID.

Properties

NameTypeDescription
any[get] Address6Returns object that represents ::.
loopback[get] Address6Returns object that represents ::1.

Methods

NameDescription
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.