BTG file format: Difference between revisions

Jump to navigation Jump to search
(→‎Coordinates: link to general coordinates page)
Line 32: Line 32:


The files are stored in Little Endian, i.e. the least-significant byte is stored first.
The files are stored in Little Endian, i.e. the least-significant byte is stored first.
=== Alignment ===
Some of the structures used in this file format are not properly aligned, i.e. not all fields start at an offset which is a multiple of their size.
Therefore special care is to be taken when translating these definitions into record types, e.g. C or C++ <code>struct</code>, as the compiler must be instructed not to enforce proper alignment.


== Header ==
== Header ==
26

edits

Navigation menu