#include <XrdCksCalccrc32C.hh>
◆ XrdCksCalccrc32C()
XrdCksCalccrc32C::XrdCksCalccrc32C |
( |
| ) |
|
◆ ~XrdCksCalccrc32C()
virtual XrdCksCalccrc32C::~XrdCksCalccrc32C |
( |
| ) |
|
|
virtual |
◆ Final()
char * XrdCksCalccrc32C::Final |
( |
| ) |
|
|
virtual |
Get the actual checksum in binary format.
- Returns
- the checksum value in binary format. The pointer to the value becomes invalid once the associated object is deleted.
Implements XrdCksCalc.
◆ Init()
void XrdCksCalccrc32C::Init |
( |
| ) |
|
|
virtual |
Initializes data structures (must be called by constructor). This is always called to reuse the object for a new checksum.
Implements XrdCksCalc.
◆ New()
Get a new instance of the underlying checksum calculation object.
- Returns
- the checksum calculation object.
Implements XrdCksCalc.
◆ Type()
const char * XrdCksCalccrc32C::Type |
( |
int & |
csSize | ) |
|
|
virtual |
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.
◆ Update()
void XrdCksCalccrc32C::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.
◆ C32C_XINIT
const unsigned int XrdCksCalccrc32C::C32C_XINIT = 0 |
|
staticprivate |
◆ C32CResult
unsigned int XrdCksCalccrc32C::C32CResult |
|
private |
◆ TheResult
unsigned int XrdCksCalccrc32C::TheResult |
|
private |
The documentation for this class was generated from the following file: