You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| --generator=<name>| Name of the generator to use. Possible values are 'segment', 'string', 'array' and 'win32'.<br>[default: segment]|
112
112
| --encoding=<name>| Name of the binary to string literal encoding to use. Possible values are 'oct' and 'hex'.<br>[default: oct]|
113
113
| --chunksize=<value>| Size in bytes of each string segments (bytes per LoC).<br>[default: 200]|
114
-
| --baseclass=<name>| The name of the interface for embedded files.<br>[default: File]|
115
-
| --namespace=<name>| The namespace of the generated source code.<br>[default: bin2cpp]|
114
+
| --baseclass=<name>| The name of the interface for embedded files.[default: File]<br>For C generated code, this parameter is for naming the File structure. [default: Bin2cFile]|
115
+
| --namespace=<name>| The namespace of the generated source code.[default: bin2cpp]<br>For C generated code, this parameter is for setting the prefix of all function names. [default: bin2c]|
116
116
| --reportedfilepath=<path>| The relative reported path of the File. Path returned when calling method getFilePath() of the File class. Automatically calculated when --dir mode is used.<br>ie: images/DCIM/IMG_0001.jpg |
117
117
| --managerfile=<path>| File name or relative path of the generated C++ header file for the FileManager class.<br>ie: FileManager.h. |
118
118
| --registerfile | Register the generated file to the FileManager class. This flags is automatically set when parameter 'managerfile' is specified. |
119
119
| --dirincludefilter=<value>| Set a positive filter on the input directory to only select files matching the filter. Wildcard characters are accepted. Separate each filter with the character ':'. Valid only when --dir is used. See wildcard characters definition below. |
120
120
| --direxcludefilter=<value>| Set a negative filter on the input directory to skip files matching the filter. Wildcard characters are accepted. Separate each filter with the character ':'. Valid only when --dir is used. See wildcard characters definition below. The exclude filter has precedence over the include filter. |
121
121
| --keepdirs | Keep the directory structure. Forces the output files to have the same directory structure as the input files. Valid only when --dir is used. |
122
122
| --plainoutput | Print the encoded string in plain format to stdout. Useful for scripts and integration with third party application. |
123
+
| --code | Define the programming language output for code generation. Supported values are `c`, `cpp` or `c++`. |
123
124
| --override | Tells bin2cpp to overwrite the destination files. |
124
125
| --noheader | Do not print program header to standard output. |
125
126
| --quiet | Do not log any message to standard output. |
0 commit comments