![]() |
XRootD
|
#include <XrdCksCalccrc32.hh>
Public Member Functions | |
XrdCksCalccrc32 () | |
virtual | ~XrdCksCalccrc32 () |
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 41 of file XrdCksCalccrc32.hh.
|
inline |
Definition at line 67 of file XrdCksCalccrc32.hh.
References Init().
Referenced by New().
|
inlinevirtual |
Definition at line 68 of file XrdCksCalccrc32.hh.
|
inlinevirtual |
Get the actual checksum in binary format.
Implements XrdCksCalc.
Definition at line 45 of file XrdCksCalccrc32.hh.
References Update().
|
inlinevirtual |
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 59 of file XrdCksCalccrc32.hh.
Referenced by XrdCksCalccrc32().
|
inlinevirtual |
Get a new instance of the underlying checksum calculation object.
Implements XrdCksCalc.
Definition at line 61 of file XrdCksCalccrc32.hh.
References XrdCksCalccrc32().
|
inlinevirtual |
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 65 of file XrdCksCalccrc32.hh.
|
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 169 of file XrdCksCalccrc32.cc.
Referenced by Final().