nstool/lib/libfnd/include/fnd/io.h

14 lines
296 B
C++

#pragma once
#include <string>
#include <fnd/MemoryBlob.h>
namespace fnd
{
namespace io
{
void readFile(const std::string& path, MemoryBlob& blob);
void writeFile(const std::string& path, const MemoryBlob& blob);
void writeFile(const std::string& path, const u8* data, size_t len);
}
}