Added ChipDataStream class
ChipDataStream makes it possible to read a buffer of binary data
using the stream operators, ">>".
Instantiate ChipDataStream class with a pointer to a data buffer
and its size in bytes as below:
ChipDataStream cds(streamData,552);
Use the ">>" stream operator then to read the basic integral types
(bool, char, uint8_t, int8_t, uint16_t, int16_t, uint32_t,
int32_t, uint64_t, and int64_t).
Change-Id: I8b99e1112c6c05a240dc5a9d9f7326d7c6842fd5
Signed-off-by: Paul Greenwood <Paul.Greenwood@ibm.com>
diff --git a/test/hei_user_defines.hpp b/test/hei_user_defines.hpp
index 54c7344..8b23473 100644
--- a/test/hei_user_defines.hpp
+++ b/test/hei_user_defines.hpp
@@ -1,3 +1,11 @@
+#pragma once
+
+/**
+* @file hei_user_defines.hpp
+* @brief The purpose of this file is to create common defines that
+* will be used throughout this library.
+**/
+
#include <stdio.h>
#include <assert.h>
@@ -15,4 +23,3 @@
#define HEI_ASSERT( expression ) \
assert( expression );
-