Closed rabernat closed 1 year ago
Some (fast) C implementations mentioned in https://stackoverflow.com/questions/40270450/correctness-of-fletcher32-checksum-algorithm (would cython well)
And just for completeness, here is the hdf5 version as vendored by netcdf4:
It would be great if numcodecs could implement the Fletcher checksum algorithm in a way compatible with how hdf5 does it. In this version, the checksum is simply appended to the end of the chunk bytes. See https://github.com/fsspec/kerchunk/pull/274 for a dummy passthrough version.
There are some python implementations here: