view README.md @ 22:d98f2c485ca3 default tip @

misc: update copyright years
author David Demelier <markand@malikania.fr>
date Wed, 01 Feb 2023 12:28:43 +0100
parents 6934cc306ac3
children
line wrap: on
line source

bcc
===

Simple tool to convert any file into a C or C++ array for direct inclusion into
the source code.

Note: C23 introduced the `#embed` feature which can be used rather than this
      utility unless your toolchain doesn't support it.

Quick usage
-----------

Example: convert a image for embedding.

	bcc -sc mario.png mario > mario.h

Now, you can include mario.h file and use `mario` C array, `sizeof (mario)` is
also possible.

Documentation
-------------

See bcc(1) manual page.

Author
------

David Demelier <markand@malikania.fr>