44 #ifndef ACE_CRC_CRC16CCITT_BYTE_HPP
45 #define ACE_CRC_CRC16CCITT_BYTE_HPP
51 namespace crc16ccitt_byte {
90 crc_t crc_update(crc_t crc,
const void *data,
size_t data_len);
112 inline crc_t crc_calculate(
const void *data,
size_t data_len) {
113 crc_t crc = crc_init();
114 crc = crc_update(crc, data, data_len);
115 return crc_finalize(crc);
const uint8_t CRC_ALGO_TABLE_DRIVEN
The definition of the used algorithm.
uint16_t crc_t
The type of the CRC values.