Byte order in Godot is little-endian by default, but you can change it to big-endian in the File class by setting the endian_swap
property to true
. (Big endian mode was removed in Godot 4.0 as it's no longer relevant nowadays, with all common CPU architectures being little-endian.)