Closed uweigand closed 3 years ago
Nice man! Curious what you're using this for now =)
@catid The nooba-core project is now pulling in cm256 to implement erasure coding. We want to make sure this works across the IBM hardware platforms as well, including the big-endian IBM Z (mainframe).
Thanks for merging! I believe the cm256 repo has a copy of these files -- are you merging these changes over automatically or would you prefer me to open PRs against cm256 as well?
This patch adds support for big-endian architectures in the two routines where the code makes byte order assumptions.
Edit: Updated to make host byte detection more robust.