CBitPointer: Easy Bit Manipulation - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
I wrote a program that uses compression algorithms. These algorithms require a heavy bit manipulation. To make life easier, I wrote two classes: CBitPointer and its supporting class CBit. These two classes made a bit (nearly) look and feel like any simple data type (for example, char, int, and so forth). Now, by using these classes, you don't have to worry about simple data objects boundaries when you iterate to read/write a variable length of bit string.
我写了一个使用压缩算法的程序。这个算法需要很多位处理。为了简化操作,我写了两个类: CBitPointer 和它的支持类 CBit。这两个类可以像处理其它简单数据类型(如, char, int, 等等)一样处理位数据。使用这个类,当你循环读写一个变长位串时就不必再担心简单数据类型的边界了。
来源: http://www.codeguru.com/cpp_mfc/BitPointer.html |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
BitPointer |
 1.0  |
2004-04-14 |
下载 |
|
|