parseIpv6Address
parseIpv6Address(
text):BitAddress
Defined in: packages/net-address/src/ipv6/parse-ipv6.ts:80
Parses an RFC 4291 §2.2 literal: eight groups, or a :: run standing for one
or more zero groups, optionally ending in a strict dotted quad.
A zone identifier is rejected here; parseIpv6ScopedAddress takes one.
An embedded IPv4 part must be a strict dotted quad, for the reason
parseIpv4Address documents.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”The address, 128 bits wide.
Throws
Section titled “Throws”NetAddressSyntaxError When text is not such a literal.