How to embed data within an executable?
Rikki Cattermole
alphaglosined at gmail.com
Sun Feb 2 19:04:25 PST 2014
On Sunday, 2 February 2014 at 16:48:17 UTC, Gary Willoughby wrote:
> I'm using DMD to create an executable and wondered what is the
> best way to embed data into it.
>
> For example, i want to embed base64 image data in the
> executable then access it during runtime. Is this possible? if
> so how?
Perhaps my Bin2D would help[0]. Basically creates a D array
literal in a file you give it.
[0] https://github.com/rikkimax/Bin2D
More information about the Digitalmars-d-learn
mailing list