mirror of
https://github.com/wiiu-env/PayloadLoaderInstaller.git
synced 2024-11-15 22:55:05 +01:00
18 lines
469 B
C++
18 lines
469 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <wut_types.h>
|
|
|
|
class FSUtils {
|
|
public:
|
|
static int32_t LoadFileToMem(const char *filepath, uint8_t **inbuffer, uint32_t *size);
|
|
|
|
static int32_t CreateSubfolder(const char *fullpath);
|
|
|
|
static int32_t CheckFile(const char *filepath);
|
|
|
|
static bool copyFile(const std::string &in, const std::string &out);
|
|
|
|
static int32_t saveBufferToFile(const char *path, const void *buffer, uint32_t size);
|
|
};
|