Union two_bytes

Union Documentation

union two_bytes
#include <rawdata.hpp>

used for unpacking the first two data bytes in a block

They are packed into the actual data stream misaligned. I doubt this works on big endian machines.

Public Members

uint16_t uint
uint8_t bytes[2]