#include <algorithm>
#include <limits>
+#include <iomanip>
#include <logfunc.hpp>
return sum;
}
+
+void MessagePayload::debug_dump(std::ostream &os) const
+{
+ std::vector<uint8_t>::const_iterator iter = Payload.begin();
+ std::vector<uint8_t>::const_iterator end = Payload.end();
+ while ( iter != end )
+ os << setw(5) << static_cast<uint>(*iter++);
+}
uint32_t calc_checksum_part() const;
+ void debug_dump(std::ostream &os) const;
+
private:
/// The size of the payload buffer
std::size_t PayloadSizeInBytes;