Last active
July 30, 2020 18:27
-
-
Save linknum23/4443e223437dff2dc97d30eebe27806b to your computer and use it in GitHub Desktop.
Binary file to C array (for including the binary as a C array in a header file)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
xxd -i binary_file > binary_file_as_c_header.h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment