The function CRCofData calculates either a 256-bit CRC code (for class TVector) or a 128-bit CRC code (in the case of TIntVector) over all cells of the vector. This CRC code is returned as a hexadecimal string of either 64 (TVector) or 32 (TIntVector) characters.
| Hint: |
Please note that the CRC code cannot be unique but there is only an extremely small chance to get a hash code collision. Thus the CRC code can be used to check whether two vectors are different (if the CRCs differ the vectors must be different), however there is a very small chance that the CRCs of different vectors are equal.
|
|