Skip to content

Dumps a file into a .cpp file which includes a C array of bytes

Notifications You must be signed in to change notification settings

ScriptExec/file-dumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

file_dumper <file list>

Example

file_dumper file1.txt file2.txt

Example usage in a cpp file

#include "embed.h"
#include "example_file.bin.cpp"

int main()
{
	stde::export_embed("exported.txt", get_embed(example_file, txt), get_embed_size(example_file, txt));
}

About

Dumps a file into a .cpp file which includes a C array of bytes

Resources

Stars

Watchers

Forks

Languages