futhark literate. I wanted to do a similar interpretation of
u32in Haskell, but the library I used read the pixel values in big-endian order. This was of course easy to fix, but is this behaviour hardware dependent?
futhark literatedoes the same. I actually didn't give it any thought, and it probably isn't documented.