25 const std::vector<uint8_t>&
data,
const uint16_t gen_pol = 0x8005);
31 const std::vector<uint8_t>&
data,
const uint32_t gen_pol = 0xEDB88320L);
35 const uint32_t gen_pol = 0xEDB88320L);
unsigned __int16 uint16_t
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.
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.
unsigned __int32 uint32_t
GLsizei GLsizei GLenum GLenum const GLvoid * data