headerBitmask constant

int const headerBitmask

A bitmask that, when applied, only keeps the bits corresponding to the MessageHeader value.

Implementation

static const int headerBitmask = (1 << headerBits) - 1;