Whenever I see code that asks what the native byte order is, the odds are about a hundred to one the code is either wrong or misguided.
https://github.com/alexchamberlain/byte-order/commit/b804361...