toIPAddressV6OrNull

Parses a String for its IPv6 address.

String can be either a URL containing the IPv6 address, or the IPv6 address itself.

Return

IPAddress.V6 or null


Convert network ordered bytes to an IPv6 address.

Return

IPAddress.V6 or null if array size is not 16, or if non-null scope is an empty string or an integer less than 1.

Parameters

scope

The network interface name or index number, or null.