RSSAmplifier

The Pragmatic Addict · Apr 12, 2024

Store static binary data in your C program

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

There are many ways to skin this cat. Of all of them xxd is my favorite because it is the easiest to port to various platforms. xxd This little utility comes from the same makers as vim . It can be found in most, if not all linux distros. This program will convert a source file into a hex dump, even better it will format it to be C compatible. I use the output to write into a .h file for inclusion…

Read on pragmaticaddict.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.