This program really IS stupidly simple. Feed it a filename and it converts the raw binary contents of the file into a constant array in C source along with it's length, to easily compile in tiny binary things into programs -- icons, etc.

Update -- it works in Windows®, too. And Solaris™ SPARC.

Send comments, patches, ports etc to Tyler Montbriand,

bindata.tar.gz (3K)

bindata VC6 project(21K)