Template Function helpme::compute_fletcher_checksum16¶
Defined in File fletcher.h
Function Documentation¶
-
template<typename Real>
uint16_t helpme::compute_fletcher_checksum16(const Real *data, size_t nElements)¶ compute_fletcher_checksum16 computes the 16bit Fletcher checksum on some data. Only the data that fit exactly into 8bit chunks are considered.
- Parameters:
data – pointer to the data to checksum.
nElements – the number of elements in the array to checksum.
- Returns:
the Fletcher checksum.