euiToIpv6InterfaceIdentifier
euiToIpv6InterfaceIdentifier(
address):BitAddress
Defined in: packages/net-address/src/eui/interface-identifier.ts:32
Builds the IPv6 interface identifier of RFC 4291 Appendix A.
An EUI-48 is first widened with FF:FE; then — for either width — the U/L
bit is complemented. That inversion is the step implementations skip: the
identifier form spells “universal” as a one, the opposite of IEEE 802, so a
universally administered 34-56-78-9A-BC-DE yields 36-56-78-FF-FE-9A-BC-DE
and not 34-….
Parameters
Section titled “Parameters”address
Section titled “address”Returns
Section titled “Returns”A 64-bit value.
Throws
Section titled “Throws”RangeError When the address is neither 48 nor 64 bits wide.