folly::MacAddress::bytes

Get a pointer to the MAC address' binary value.

Synopsis

Declared in <folly/MacAddress.h>

uint8_t const*
bytes() const;

Description

The returned value points to internal storage inside the MacAddress object. It is only valid as long as the MacAddress, and its contents may change if the MacAddress is updated.

Return Value

A pointer to the 6-byte binary value.