file2d 0.0.1

simple tool to create embedable files in #dlang


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

file2d

simple tool to create embedable files in #dlang

usage:

$ file2d someaudiofile.wav > mod.d

this will read someaudiofile.wav and write it as a ubyte array literal into a dlang compatible module file mod.d. mod.d will look like this:

module mod;

static immutable ubyte[1234] = [0x12, ...];
Authors:
  • Stephan Dilly
Dependencies:
none
Versions:
0.0.1 2015-Oct-08
~master 2016-Feb-27
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 97 downloads total

Score:
0.9
Short URL:
file2d.dub.pm