libutils/include/fs/FSUtils.h
Maschell f02d7da869 Make library compatible with WUT
Remove some features (kernel, function patcher) to be a userland only lib.
2018-06-17 15:19:51 +02:00

17 lines
406 B
C++

#ifndef __FS_UTILS_H_
#define __FS_UTILS_H_
#include <wut_types.h>
class FSUtils {
public:
static s32 LoadFileToMem(const char *filepath, u8 **inbuffer, u32 *size);
//! todo: C++ class
static s32 CreateSubfolder(const char * fullpath);
static s32 CheckFile(const char * filepath);
static bool saveBufferToFile(const char * path, void * buffer, u32 size);
};
#endif // __FS_UTILS_H_