Templates are text files containing formatting information for the byte data. This formatting information can be applied to the binary file to see the data better structured. One can for example apply the structure of bitmap file header to see the header file data in easier to read format.
Template file is a plain text file. Every line in the file defines a data type and name for that data. For example, line can be:
BYTE filetypewhere BYTE is the data type and filetype is the name given to the data.
The data types are parsed exactly as is so you must have BYTE, not byte or bYtE. The maximum length for the name is 128 characters.
The data types known in templates are:
| Data type | Description |
|---|---|
| BYTE char |
One byte of data. |
| WORD short |
Two bytes of data. |
| DWORD int long LONG |
Four bytes of data. |
| float | Floating point number. |
| double | Double-precision floating point number. |