17 #if !defined(__HEXDUMP_H__)
21 #include <avr/pgmspace.h>
27 template <
class BASE_CLASS,
class LEN_TYPE,
class OFFSET_TYPE>
30 OFFSET_TYPE byteTotal;
42 virtual void Parse(
const LEN_TYPE len,
const uint8_t *pbuf,
const OFFSET_TYPE &offset);
45 template <
class BASE_CLASS,
class LEN_TYPE,
class OFFSET_TYPE>
48 for(LEN_TYPE j = 0; j < len; j++, byteCount++, byteTotal++) {
50 PrintHex<OFFSET_TYPE > (byteTotal, 0x80);
53 PrintHex<uint8_t > (pbuf[j], 0x80);
64 #endif // __HEXDUMP_H__