nxt.bit_traits

Members

Templates

bitsNeeded
template bitsNeeded(size_t length)

Get number of bits needed to represent the range (0 .. length-1).

packedBitSizeOf
template packedBitSizeOf(T)

Number of bits required to store a packed instance of T.

Meta