#include <XrdCksCalccrc32.hh>
◆ XrdCksCalccrc32()
XrdCksCalccrc32::XrdCksCalccrc32 |
( |
| ) |
|
|
inline |
◆ ~XrdCksCalccrc32()
virtual XrdCksCalccrc32::~XrdCksCalccrc32 |
( |
| ) |
|
|
inlinevirtual |
◆ Final()
char * XrdCksCalccrc32::Final |
( |
| ) |
|
|
inlinevirtual |
◆ Init()
void XrdCksCalccrc32::Init |
( |
| ) |
|
|
inlinevirtual |
◆ New()
Get a new instance of the underlying checksum calculation object.
- Returns
- the checksum calculation object.
Implements XrdCksCalc.
References XrdCksCalccrc32().
◆ Type()
const char * XrdCksCalccrc32::Type |
( |
int & |
csSize | ) |
|
|
inlinevirtual |
Get the checksum object algorithm name and the number bytes (i.e. size) required for the checksum value.
- Parameters
-
csSize | -> Parameter to hold the size of the checksum value. |
- Returns
- the checksum algorithm's name. The name persists event after the checksum object is deleted.
Implements XrdCksCalc.
References TheResult.
◆ Update()
void XrdCksCalccrc32::Update |
( |
const char * |
Buff, |
|
|
int |
BLen |
|
) |
| |
|
virtual |
Compute a running checksum. This method may be called repeatedly for data segments; with Final() returning the full checksum.
- Parameters
-
Buff | -> Data to be checksummed. |
BLen | -> Length of the data in Buff. |
Implements XrdCksCalc.
Referenced by Final().
◆ C32Result
unsigned int XrdCksCalccrc32::C32Result |
|
private |
◆ CRC32_XINIT
const unsigned int XrdCksCalccrc32::CRC32_XINIT = 0 |
|
staticprivate |
◆ CRC32_XOROT
const unsigned int XrdCksCalccrc32::CRC32_XOROT = 0xffffffff |
|
staticprivate |
◆ crctable
unsigned int XrdCksCalccrc32::crctable[256] |
|
staticprivate |
◆ TheResult
unsigned int XrdCksCalccrc32::TheResult |
|
private |
◆ TotLen
long long XrdCksCalccrc32::TotLen |
|
private |
The documentation for this class was generated from the following file: