25 #if !defined(_usb_h_) || defined(__PARSETOOLS_H__)
26 #error "Never include parsetools.h directly; include Usb.h instead"
28 #define __PARSETOOLS_H__
38 } __attribute__((packed));
55 pBuf = (uint8_t*)pbuf->
pValue;
59 bool Parse(uint8_t **pp, uint16_t *pcntdn);
73 pBuf = (uint8_t*)pbuf->
pValue;
77 bool Skip(uint8_t **pp, uint16_t *pcntdn, uint16_t bytes_to_skip) {
80 countDown = bytes_to_skip;
84 for(; countDown && (*pcntdn); countDown--, (*pp)++, (*pcntdn)--);
140 arLenCntdn = arLen = 3;
143 arLenCntdn = arLen = 0;
153 #endif // __PARSETOOLS_H__