![]() |
Binary Definition |
Use this sheet to specify the binary file format.
Specifies how the binary file is scanned. Possible values are:
| Value | Description |
|---|---|
| Scan as a single piece of data | The whole file is scanned as a single binary data item. |
| Use definition | The file is parsed using the binary definition below, and the strings of the file are scanned. |
First bytes of the selected data shows the first bytes of the file in a binary view. Use it to find out the structure of the file.
Use a shared definition lets you select a definition that has been saved into Soluling configuration, or to save the current definition there.
Byte order specifies the byte order that the files uses. Possible values are:
| Value | Description |
|---|---|
| Little-endian | The least significant byte is stored first. |
| Big-endian | The most significant byte is stored first. |
String encoding specifies the encoding of the strings, such as UTF-8, UTF-16, or a code page.
String length specifies how the length of a string is stored. Possible values are:
| Value | Description |
|---|---|
| Null terminated | A string ends with a null character. |
| Preceding length byte | A byte that precedes the string contains the length of the string. |
| Preceding length word | A word (two bytes) that precedes the string contains the length of the string. |
| Fixed length | Each string has the same length. Use String size to specify the length. |
String size specifies the size of a fixed length string. This is visible only if String length is Fixed length.
Check First record containing an empty string ends the file if the file ends with a record that contains an empty string. Records after it are not read.
File extensions specifies the file extensions of the files that use this definition.
Description specifies an optional description of the definition.
Specifies the fields of a record. The file contains any number of records, and each record contains the fields in this order. The list shows the type, data type, size, and the optional required value of each field. Click Add to add a new field, Remove to remove the selected field, and Edit to edit the selected field. Click Move Up and Move Down to change the order of the fields.
Specifies the fields of the optional header that is at the beginning of the file before the records. Use the buttons in the same way as with records.
Shows sample data that is based on the current settings and three records.
Click Test current definition to select a file and to parse it using the current definition. Soluling shows the strings that were found, or an error message if the file could not be parsed.
Click Import definition from a file to load a definition from a file.
Click Export definition into a file to save the current definition into a file.
Click View sample file to view sample data that is based on the current definition.