-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fletcher32 checksum #34
Comments
I think so. numcodecs already supports Adler32 which is similar to Flether32, I think. |
The code looks simple enough. The question is, how is this value included in the target bytes? Is it just in metadata around the bytes? If yes, then we can already ignore the checksum and use the bytes; but implementing the function above would enable the (optional) validation. |
Example code of how to fetch the checksums: https://forum.hdfgroup.org/t/accessing-fletcher32-checksum/7299/3 Apparently it's just the last 4 bytes of the given block. So to ignore, we can just truncate. |
All datasets with fletcher32 == True are rejected by referenceMaker. This is the checksum supported by HDF5.
Would it be possible to add it to nomcodecs? @ajelenak
The text was updated successfully, but these errors were encountered: