<ahref="parsetools_8cpp.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.</span></div><divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"></span></div><divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment">This software may be distributed and modified under the terms of the GNU</span></div><divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment">General Public License version 2 (GPL2) as published by the Free Software</span></div><divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment">Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div><divclass="line"><aname="l00006"></a><spanclass="lineno"> 6</span> <spanclass="comment">this file. Please note that GPL2 Section 2[b] requires that all works based</span></div><divclass="line"><aname="l00007"></a><spanclass="lineno"> 7</span> <spanclass="comment">on this software must also be made publicly available under the terms of</span></div><divclass="line"><aname="l00008"></a><spanclass="lineno"> 8</span> <spanclass="comment">the GPL2 ("Copyleft").</span></div><divclass="line"><aname="l00009"></a><spanclass="lineno"> 9</span> <spanclass="comment"></span></div><divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="comment">Contact information</span></div><divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment">-------------------</span></div><divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"></span></div><divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment">Circuits At Home, LTD</span></div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment">Web : http://www.circuitsathome.com</span></div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment">e-mail : support@circuitsathome.com</span></div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> */</span></div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="preprocessor">#include "<aclass="code"href="_usb_8h.html">Usb.h</a>"</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> </div><divclass="line"><aname="l00019"></a><spanclass="lineno"><aclass="line"href="class_multi_byte_value_parser.html#a9d380bf3ab3fee2c8797883504bcd827"> 19</a></span> <spanclass="keywordtype">bool</span><aclass="code"href="class_multi_byte_value_parser.html#a9d380bf3ab3fee2c8797883504bcd827">MultiByteValueParser::Parse</a>(uint8_t **pp, uint16_t *pcntdn) {</div><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="keywordflow">if</span>(!pBuf) {</div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <aclass="code"href="message_8h.html#a27117e124c5d66d5512fe8d494fe6338">Notify</a>(<aclass="code"href="version__helper_8h.html#a73809107539df84eaf01f6a4dea4fbff">PSTR</a>(<spanclass="stringliteral">"Buffer pointer is NULL!\r\n"</span>), 0x80);</div><divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="keywordflow">return</span><spanclass="keyword">false</span>;</div><divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span>  }</div><divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="keywordflow">for</span>(; countDown && (*pcntdn); countDown--, (*pcntdn)--, (*