Description

simple tool to create embedable files in #dlang

Package Information

Version0.0.1 (2015-Oct-08)
Repository https://github.com/extrawurst/file2d
LicenseMIT
CopyrightCopyright © 2015, Stephan Dilly
AuthorsStephan Dilly
Registered byExtrawurst
Dependencies none

Installation

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

dub.json
dub.sdl

Readme

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, ...];

Available versions

0.0.1 ~master