ACE_crc32.cpp File Reference

#include "ace_pch.h"
#include "ace/ACE.h"

Defines

#define COMPUTE(var, ch)   (var) = (crc_table[(var ^ ch) & 0xFF] ^ (var >> 8))

Functions

ACE_UINT32 ACE::crc32 (const char *string)
 Computes the ISO 8802-3 standard 32 bits CRC for the string.
ACE_UINT32 ACE::crc32 (const void *buffer, size_t len, ACE_UINT32 crc)
 Computes the ISO 8802-3 standard 32 bits CRC for the buffer.
ACE_UINT32 ACE::crc32 (const iovec *iov, int len, ACE_UINT32 crc)

Variables

const ACE_UINT32 crc_table []

Define Documentation

#define COMPUTE var,
ch   )     (var) = (crc_table[(var ^ ch) & 0xFF] ^ (var >> 8))
 


Variable Documentation

const ACE_UINT32 crc_table[] [static]
 


Generated on Wed Nov 23 15:46:51 2005 for ACE by  doxygen 1.4.5