file2d 0.0.1

simple tool to create embedable files in #dlang


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

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
Stats:

statistics are temporarily disabled.