![]() |
Home | Libraries | People | FAQ | More |
A collection of function templates and class templates that compute various forms of Cyclic Redundancy Codes (CRCs).
Daryle Walker
1.5
Boost Software License, version 1.0
Contains the declarations (and definitions) of various kinds of CRC computation functions, function object types, and encapsulated policy types.
![]() |
Warning |
---|---|
The sample CRC-computer types were just checked against the Catalogue of parametrised CRC algorithms. New type aliases were added where I got a standard wrong. However, the mistaken |
![]() |
Note |
---|---|
There are references to the Rocksoft™ Model CRC Algorithm, as described within "A Painless Guide to CRC Error Detection Algorithms," linked from "CRC: A Paper On CRCs" by Ross Williams. It will be abbreviated "RMCA" in other documentation blocks. |
BOOST_CRC_PARM_TYPE BOOST_CRC_OPTIMAL_NAME
template< Bits> class crc_basic; template< Bits, TruncPoly, InitRem, FinalXor, ReflectIn, ReflectRem> class crc_optimal; typedef crc_optimal< ; // Computation type for ARC|CRC-16|CRC-IBM|CRC-16/ARC|CRC-16/LHA standard. typedef crc_optimal< ; // Computation type for CRC-16/CCITT-FALSE standard. typedef ; // Computation type for the CRC mistakenly called the CCITT standard. typedef crc_optimal< ; typedef crc_optimal< ; typedef crc_optimal< ; // Computation type for the actual XMODEM|ZMODEM|CRC-16/ACORN standard. typedef crc_optimal< ; // Computation type for CRC-32|CRC-32/ADCCP|PKZIP standard. template< Bits, TruncPoly, InitRem, FinalXor, ReflectIn, ReflectRem> (, ); template< Bits, TruncPoly> (, , = ); }