17 #if !defined(__HEXDUMP_H__)
21 #include <avr/pgmspace.h>
23 template <
class BASE_CLASS,
class LEN_TYPE,
class OFFSET_TYPE>
26 OFFSET_TYPE byteTotal;
38 virtual void Parse(
const LEN_TYPE len,
const uint8_t *pbuf,
const OFFSET_TYPE &offset);
41 template <
class BASE_CLASS,
class LEN_TYPE,
class OFFSET_TYPE>
45 for(LEN_TYPE j = 0; j < len; j++, byteCount++, byteTotal++) {
47 PrintHex<OFFSET_TYPE > (byteTotal, 0x80);
50 PrintHex<uint8_t > (pbuf[j], 0x80);
54 Notify(PSTR(
"\r\n"), 0x80);
62 #endif // __HEXDUMP_H__