(bytes: Uint8Array)
| 772 | ] |
| 773 | |
| 774 | const makeMac = (bytes: Uint8Array): MacAddress => { |
| 775 | const self = Object.assign(Object.create(MacProto), { bytes: new Uint8Array(bytes) }) |
| 776 | return Object.freeze(self) |
| 777 | } |
| 778 | |
| 779 | /** |
| 780 | * Creates an IPv4 address from trusted network-order bytes without validation. |
no test coverage detected