![]() |
PIP 5.6.1
Platform-Independent Primitives
|
Fixed-width unsigned helper used by generic CRC implementations. More...
#include <picrc.h>
Public Member Functions | |
| uint_cl () | |
| Constructs a zero-filled value. | |
| uint_cl (const uint_cl< L > &v) | |
| Constructs a copy. | |
| operator bool () | |
Returns true when at least one bit is set. | |
| uint_cl< L > | operator+ (const uint_cl< L > &v) |
| Adds two fixed-width values with carry propagation. | |
| uint_cl< L > | operator& (const uint_cl< L > &v) const |
| Returns bitwise AND with another value. | |
| uint_cl< L > | operator| (const uint_cl< L > &v) const |
| Returns bitwise OR with another value. | |
| uint_cl< L > | operator^ (const uint_cl< L > &v) const |
| Returns bitwise XOR with another value. | |
| bool | operator< (const uint_cl< L > &v) const |
| Less than operator. | |
| bool | operator<= (const uint_cl< L > &v) const |
| Less than or equal operator. | |
| bool | operator> (const uint_cl< L > &v) const |
| Greater than operator. | |
| bool | operator>= (const uint_cl< L > &v) const |
| Greater than or equal operator. | |
| bool | operator== (const uint_cl< L > &v) const |
| Equality operator. | |
| bool | operator!= (const uint_cl< L > &v) const |
| Inequality operator. | |
| bool | operator<= (const uint_cl< 8 > &v1) |
| Less than or equal operator (specialized for 8-bit) | |
| uint_cl< L > | operator>> (const int &c) const |
| Returns a value shifted right by the specified bit count. | |
| uint_cl< L > | operator<< (const int &c) const |
| Returns a value shifted left by the specified bit count. | |
| uint_cl< L > & | inverse () const |
| Inverts all bits in place. | |
| uint_cl< L > | inversed () const |
| Returns a copy with all bits inverted. | |
| uint_cl< L > | reversed () const |
| Returns a copy with bit order reversed. | |
| const uchar * | data () const |
| Returns raw byte storage. | |
| uchar * | data () |
| Returns raw byte storage. | |
| uint | length () const |
| Returns storage length in bytes. | |
Fixed-width unsigned helper used by generic CRC implementations.