17 #if !defined(__PARSETOOLS_H__)
18 #define __PARSETOOLS_H__
21 #include <avr/pgmspace.h>
26 #if defined(ARDUINO) && ARDUINO >=100
35 } __attribute__((packed));
52 pBuf = (uint8_t*) pbuf->
pValue;
56 bool Parse(uint8_t **pp, uint16_t *pcntdn);
70 pBuf = (uint8_t*) pbuf->
pValue;
74 bool Skip(uint8_t **pp, uint16_t *pcntdn, uint16_t bytes_to_skip) {
77 countDown = bytes_to_skip;
80 for(; countDown && (*pcntdn); countDown--, (*pp)++, (*pcntdn)--);
136 arLenCntdn = arLen = 3;
139 arLenCntdn = arLen = 0;
149 #endif // __PARSETOOLS_H__