Skip to content

elnormous/bin2h

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bin2h

Utility for converting binary files to C headers.

Usage

bin2h [-i <input>] [-o <output>] [-n <name>] [-d] [-e] [-s] [-z]
OPTIONS:
	-d				Print decimal instead of hex literals
	-e				Output a variable that holds a pointer to the last element of the data
	-i <input>			Specify the input file (default: stdin)
	-n <name>			Specify the variable name (default: data)
	-o <output>			Specify the output file (default: stdout)
	-s				Output a variable for data size
	-z				Add a zero to the end of the array

License

bin2h is released to the Public Domain.

About

Store binary file in C header

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published