![]() |
XRootD
|
#include <XrdCksCalccrc32C.hh>
Public Member Functions | |
XrdCksCalccrc32C () | |
virtual | ~XrdCksCalccrc32C () |
char * | Final () |
void | Init () |
XrdCksCalc * | New () |
const char * | Type (int &csSz) |
void | Update (const char *Buff, int BLen) |
![]() | |
XrdCksCalc () | |
Constructor. More... | |
virtual | ~XrdCksCalc () |
Destructor. More... | |
virtual char * | Calc (const char *Buff, int BLen) |
virtual char * | Current () |
virtual void | Recycle () |
Recycle the checksum object as it is no longer needed. A default is given. More... | |
Definition at line 42 of file XrdCksCalccrc32C.hh.
XrdCksCalccrc32C::XrdCksCalccrc32C | ( | ) |
Definition at line 47 of file XrdCksCalccrc32C.cc.
References Init().
Referenced by New().
|
virtual |
Definition at line 49 of file XrdCksCalccrc32C.cc.
|
virtual |
Get the actual checksum in binary format.
Implements XrdCksCalc.
Definition at line 38 of file XrdCksCalccrc32C.cc.
|
virtual |
Initializes data structures (must be called by constructor). This is always called to reuse the object for a new checksum.
Implements XrdCksCalc.
Definition at line 33 of file XrdCksCalccrc32C.cc.
Referenced by XrdCksCalccrc32C().
|
virtual |
Get a new instance of the underlying checksum calculation object.
Implements XrdCksCalc.
Definition at line 31 of file XrdCksCalccrc32C.cc.
References XrdCksCalccrc32C().
|
virtual |
Get the checksum object algorithm name and the number bytes (i.e. size) required for the checksum value.
csSize | -> Parameter to hold the size of the checksum value. |
Implements XrdCksCalc.
Definition at line 25 of file XrdCksCalccrc32C.cc.
|
virtual |
Compute a running checksum. This method may be called repeatedly for data segments; with Final() returning the full checksum.
Buff | -> Data to be checksummed. |
BLen | -> Length of the data in Buff. |
Implements XrdCksCalc.
Definition at line 20 of file XrdCksCalccrc32C.cc.
References XrdOucCRC::Calc32C().