c++boost.gif (8819 bytes) Home Libraries People FAQ More

CRC Library

crc.hppヘッダーでは、テンプレートベースで実装された2種類のCRC(cyclic redundancy code)計算オブジェクトの実装と2種類のCRC計算関数の実装を提供する。

1つ目のオブジェクト実装は理論的な用途の為のものである、それは1ビット単位で処理を行うが、実用的な用途に関しては遅いと思われる。 2つ目のオブジェクト実装はバイト指向の実装で、ルックアップテーブルを利用して高速な演算を行う。最適化された実装は一般的な利用に適している。 1つ目の関数実装では最適化されたオブジェクトを使用している。2つ目の関数実装はデータを追うCRCの使用を許す。


Revised: 14 May 2001

Copyright © Daryle Walker 2001. Permission to copy, use, modify, sell and distribute this document is granted provided this copyright notice appears in all copies. This document is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.