parameters: (b: bytes, crc32val: int = 0)
return_statement: return crc32val
docstring: CRC32 algo from NuttX.
docstring_summary: CRC32 algo from NuttX.
docstring_tokens: CRC32 algo from NuttX .
function: def nuttx_crc32(b: bytes, crc32val: int = 0) -> int:
      """CRC32 algo from NuttX."""
      for b in bytearray(b):
          crc32val = CRC32_TAB[(crc32val ^ b) & 0xFF] ^ (crc32val >> 8)
  
      return crc32val
function_tokens: def nuttx_crc32 ( b : bytes , crc32val : int = 0 ) -> int : for b in bytearray ( b ) : crc32val = CRC32_TAB [ ( crc32val ^ b ) & 0xFF ] ^ ( crc32val >> 8 ) return crc32val