A hack to reverse JS endianness for tests
Caution
Very slow and not perfect.
Has unwanted side-effects.
Not suitable for any production use.
Important
The only intended usecase is running fake Big-Endian tests on Little-Endian systems.
require('@chalker/fake-endianness')import '@chalker/fake-endianness'