Skip to content

tryEui64ToEui48

tryEui64ToEui48(address): BitAddress | null

Defined in: packages/net-address/src/eui/eui-convert.ts:66

Narrows an EUI-64 back to the EUI-48 it was widened from, dropping the FF:FE marker.

BitAddress

BitAddress | null

null when the address carries no marker, which means it is a native EUI-64 and has no 48-bit form.

RangeError When the address is not 64 bits wide.