@bnoordhuis for the life of me I can't figure out how to that snippet as-is while still passing the `non_native_endian` as a template parameter like @piscisaureus suggested.