sprint 1-alpha
Functions
sprint/io/tools.h File Reference

read/write memory From/To file More...

Go to the source code of this file.

Functions

bool save_file_from_memory (const char *filename, const void *mem, unsigned long filesize)
 dump memory to file
char * load_file_in_memory (const char *filename, unsigned int *size)
 load file in memory
char * load_file_in_memory_ex (const char *filename, unsigned int *size, unsigned int reserve)
 load file in memory but reserve additional reserve bytes
bool save_txtfile_from_memory (const char *filename, const char *mem)
 dump a text file
char * load_txtfile_in_memory (const char *filename)
 load a text file in memory

Detailed Description

read/write memory From/To file

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines