Parses an IPv6 string (compressed or full, optionally with an embedded IPv4 tail) into 16 octets.
The IPv6 text.
The 16 address octets.
If the input is not a valid IPv6 address.
1.0.4
import { parseIpv6 } from 'edgeport/dns';parseIpv6('2001:db8::1'); // 16 octets Copy
import { parseIpv6 } from 'edgeport/dns';parseIpv6('2001:db8::1'); // 16 octets
Parses an IPv6 string (compressed or full, optionally with an embedded IPv4 tail) into 16 octets.