Руслан Урядинский / libuavcan

Dependents:   UAVCAN UAVCAN_Subscriber

Embed: (wiki syntax)

« Back to documentation index

BitLenToByteLen< BitLen > Struct Template Reference

BitLenToByteLen< BitLen > Struct Template Reference

Compile-time: Returns the number of bytes needed to contain the given number of bits. More...

#include <type_util.hpp>


Detailed Description

template<unsigned long BitLen>
struct uavcan::BitLenToByteLen< BitLen >

Compile-time: Returns the number of bytes needed to contain the given number of bits.

Assumes 1 byte == 8 bit.

Definition at line 42 of file type_util.hpp.