data2bin
Create structured binary files from XML data.
... according to defined structure.
... and produces final binary file. It is able to pad Your strings with defined padding, check Your integers' sizes, it can fill default values where You didn't supply data, it can also, for example, put a "blank" array member at the end of an array etc.
Whenever You change your structure in Your code, just update the data-description file and "rebuild" Your binary files without touching XML data files!