Guitar
Functions
rwfile.h File Reference
#include <vector>
#include <stdlib.h>
Include dependency graph for rwfile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool readfile (char const *path, std::vector< char > *out, int maxsize)
 
bool writefile (char const *path, char const *ptr, size_t len)
 

Function Documentation

◆ readfile()

bool readfile ( char const *  path,
std::vector< char > *  out,
int  maxsize 
)

◆ writefile()

bool writefile ( char const *  path,
char const *  ptr,
size_t  len 
)