Added swapping for Big Endian CPUs (does anyone actually use those anymore?) in the native version to match the C version.