Struct crc16_ibm3740
Synopsis
#include "breeze/checksum/crc.hpp"
struct crc16_ibm3740
Description
Traits for CRC-16/IBM-3740. This CRC is often misidentified as CRC-CCITT and is thus also known as CRC-16/CCITT-FALSE.
- See
- crc.
Source
Lines 251-263 in breeze/checksum/crc.hpp.
struct crc16_ibm3740
{
typedef std::uint16_t value_type ;
static int const width = 16 ;
static value_type const poly = 0x1021 ;
static value_type const init = 0xFFFF ;
static bool const reflect_in = false ;
static bool const reflect_out = false ;
static value_type const xor_out = 0 ;
static value_type const check = 0x29B1 ;
} ;