delorie.com/djgpp/doc/utils/utils_1.html   search  
DJGPP Utilities Reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1. bin2h

bin2h allows a developer to embed a binary file into a source file, by converting the binary data to an array of integer values.

Usage: bin2h datafile symbol headerfile

The resulting header file has a format like this:

 
unsigned char symbol[] = {
  ... data ...
};


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Nov 2004