wudd/source/fs/FSUtils.h

17 lines
445 B
C
Raw Normal View History

2021-10-09 00:58:55 +02:00
#pragma once
#include <string>
2022-07-26 08:16:27 +02:00
#include <wut_types.h>
2021-10-09 00:58:55 +02:00
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, void *buffer, uint32_t size);
};