parseIPv6Address method

Parse the host as an IP version 6 (IPv6) address, returning the address as a list of 16 bytes in network byte order (big endian).

List<int> parseIPv6Address(
String host,
[int start = 0,
int end]
)

Parse the host as an IP version 6 (IPv6) address, returning the address as a list of 16 bytes in network byte order (big endian).

Throws a FormatException if host is not a valid IPv6 address representation.

Acts on the substring from start to end. If end is omitted, it defaults ot the end of the string.

Some examples of IPv6 addresses: * ::1 * FEDC:BA98:7654:3210:FEDC:BA98:7654:3210 * 3ffe:2a00:100:7031::1 * ::FFFF:129.144.52.38 * 2010:836B:4179::836B:4179