Reverts default file IO behavior to be little endian (the semantics got mixed up because Pythons file.write method is weird and caused some semantic mismatch in the expected behavior and actual behavior) and adds a parameter to file open to select endianness.
Reverts default file IO behavior to be little endian (the semantics got mixed up because Pythons
file.write
method is weird and caused some semantic mismatch in the expected behavior and actual behavior) and adds a parameter to file open to select endianness.