2.html" class="code" title="function out = crc32(in)">crc32</a>(pld_bytes(1:len - 4)');
0241         
0242         <span class="comment">% Check CRC for errors</span>
0243         <span class="keyword">if</span> (any(pld_crc32(len - 3:len) ~= pld_bytes(len - 3:len)'))
0244             err = 3;
0245         <span class="keyword">end</span>
0246     <span class="keyword">else</span>
0247         err = 2;
0248     <span class="keyword">end</span>
0249 <span class="keyword">end</span>
0250 
0251 <span class="ke