9 #ifndef MRPT_UTILS_CRC_H 10 #define MRPT_UTILS_CRC_H 24 const std::vector<uint8_t>&
data,
const uint16_t gen_pol = 0x8005);
30 const std::vector<uint8_t>&
data,
const uint32_t gen_pol = 0xEDB88320L);
34 const uint32_t gen_pol = 0xEDB88320L);
unsigned __int16 uint16_t
uint16_t compute_CRC16(const std::vector< uint8_t > &data, const uint16_t gen_pol=0x8005)
Computes the CRC16 checksum of a block of data.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
uint32_t compute_CRC32(const std::vector< uint8_t > &data, const uint32_t gen_pol=0xEDB88320L)
Computes the CRC32 checksum of a block of data.
unsigned __int32 uint32_t
GLsizei GLsizei GLenum GLenum const GLvoid * data