2017-07-06 03:27:25 +00:00
|
|
|
#pragma once
|
|
|
|
#include <string>
|
2017-08-05 13:09:50 +00:00
|
|
|
#include <fnd/MemoryBlob.h>
|
2017-07-06 03:27:25 +00:00
|
|
|
|
|
|
|
namespace fnd
|
|
|
|
{
|
|
|
|
namespace io
|
|
|
|
{
|
|
|
|
void readFile(const std::string& path, MemoryBlob& blob);
|
2018-03-25 11:52:56 +00:00
|
|
|
void readFile(const std::string& path, size_t offset, size_t len, MemoryBlob& blob);
|
2017-07-06 03:27:25 +00:00
|
|
|
void writeFile(const std::string& path, const MemoryBlob& blob);
|
2018-03-22 05:26:22 +00:00
|
|
|
void writeFile(const std::string& path, const byte_t* data, size_t len);
|
2017-07-06 03:27:25 +00:00
|
|
|
}
|
|
|
|
}
|