Construct a MacAddress from a uint64_t in network byte order.
Synopsis
Declared in <folly/MacAddress.h>
static
MacAddress
fromNBO(uint64_t value);
Description
The first two bytes are ignored, and the MAC address is taken from the latter 6 bytes.
This is a static method rather than a constructor to avoid confusion between host and network byte order constructors.
Return Value
The MAC address built from value.
Parameters
Name |
Description |
value |
The address as a uint64_t in network byte order. |
Created with MrDocs