17 #if !defined(__HEXDUMP_H__)
21 #include <avr/pgmspace.h>
24 template <
class BASE_CLASS,
class LEN_TYPE,
class OFFSET_TYPE>
28 OFFSET_TYPE byteTotal;
34 virtual void Parse(
const LEN_TYPE len,
const uint8_t *pbuf,
const OFFSET_TYPE &offset);
37 template <
class BASE_CLASS,
class LEN_TYPE,
class OFFSET_TYPE>
40 for (LEN_TYPE j=0; j<len; j++, byteCount++, byteTotal++)
44 PrintHex<OFFSET_TYPE>(byteTotal);
47 PrintHex<uint8_t>(pbuf[j]);
58 #endif // __HEXDUMP_H__