COMMS
Template library intended to help with implementation of communication protocols.
|
#include "comms/options.h"
Option used to specify number of bits that is used for field serialisation when a field is a member of comms::field::Bitfield.
For example, the protocol specifies that two independent integer values of 6 and 10 bits respectively packed into two bytes to save space. Such combined field may be defined as:
TLen | Length of the serialised value in bits. |
TSignExtend | Perform sign extension, relevant only to signed types. |