data2bin
Create structured binary files from XML data.
...Too lazy to reedit complete file after changing structure members order or size?
"data2bin" is a utility that takes:
1. Your structures description (you can use integers of different sizes and endiannesses, null-terminated text strings, fixed-size binary strings, structures, arrays...)
2. Your data in a XML file written down 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.
...