$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Brian Davis (bitminer_at_[hidden])
Date: 2008-07-27 15:51:27
Does this handle byte packing and bitwise operations such as bitfields do?
Is byte ordering 1 for free here as desired?
#pragma push (pack ,1)
struct
{
boost::uint32_t rawSensorValue1 : 12;
boost::uint32_t errorFlag1: 1;
boost::uint32_t rawSensorValue2 : 12;
boost::uint32_t errorFlag2: 1;
boost::uint32_t unused : 6;
};
#pragma pop (pack)
Brian