Currently serialized data is assumed to use the same endianess. This may not always be the case. This should be solved when loading/saving binary data.