Skip to content

euiAssignmentPrefix

euiAssignmentPrefix(address, block): BitPrefix

Defined in: packages/net-address/src/eui/eui-bits.ts:158

The block an IEEE assignment occupies, as a prefix over the same width: 24 bits for MA-L, 28 for MA-M, 36 for MA-S.

Which block an address actually belongs to is only knowable from the IEEE registry, which this package deliberately does not carry — the caller says which block it is looking up.

BitAddress

EuiAssignmentBlock

BitPrefix

RangeError When the address is neither 48 nor 64 bits wide.