#include <CRC32.h>
Definition at line 26 of file CRC32.h.
Public Types | |
| typedef u_int32_t | CRC_t |
Public Member Functions | |
| CRC32 () | |
| CRC_t | value () |
| void | reset () |
| void | update (const u_char *buf, size_t length) |
| void | update (const char *buf, size_t length) |
Static Public Member Functions | |
| static CRC_t | from_bytes (u_char *buf) |
Private Attributes | |
| CRC_t | crc_ |
| typedef u_int32_t oasys::CRC32::CRC_t |
| void oasys::CRC32::update | ( | const u_char * | buf, | |
| size_t | length | |||
| ) |
Update the crc with the data in the buf
Definition at line 124 of file CRC32.cc.
References crc_, and oasys::CRCTABLE.
Referenced by oasys::Unmarshal::begin_action(), oasys::Marshal::end_action(), oasys::MarshalCRC::process(), and update().
| void oasys::CRC32::update | ( | const char * | buf, | |
| size_t | length | |||
| ) | [inline] |
| CRC32::CRC_t oasys::CRC32::value | ( | ) |
Definition at line 137 of file CRC32.cc.
References crc_, and oasys::CRCXOROT.
Referenced by oasys::Unmarshal::begin_action(), oasys::MarshalCRC::crc(), and oasys::Marshal::end_action().
| void oasys::CRC32::reset | ( | ) |
Definition at line 118 of file CRC32.cc.
References crc_, and oasys::CRCINIT.
Referenced by CRC32().
| CRC32::CRC_t oasys::CRC32::from_bytes | ( | u_char * | buf | ) | [static] |
CRC_t oasys::CRC32::crc_ [private] |
1.5.3