dktools - Dirk Krauses tools Wiki
Drawing, graphics conversion, software development, administration.
Brought to you by:
kraused
| ← Previous | ↑ Home | → Next |
dk-bin2c [options] [file(s)]
The program converts binary input data from standard input or a specified file to C source code (array of literal unsigned char values in hexadecimal or octal notation).
| Option | Purpose |
|---|---|
| -o --octal |
Octal output instead of hexadecimal output. |
| -i indent --indent=indent |
Line indent, number of spaces at start of each line. Default: 0. |
| -s spaces --spaces=spaces |
Number of spaces between elements in a line. Default: 0. |
| -b bytes --bytes-per-line=bytes |
Number of byte representations in each text line. Default: 15. |
| --help | Show short help text. |
| --manual | Show manual. |
| --version | Show version number. |
| --license | Show license terms. |
The program returns exit status code 0 on success, all other status codes indicate an error.
| ← Previous | ↑ Home | → Next |