#include <FileUtils.hpp>
|
static bool | Read (const fs::path &filename, std::vector< byte > &buffer) |
|
static bool | ReadString (const fs::path &filename, std::string &buffer) |
|
static bool | Write (const fs::path &filename, const std::vector< byte > &buffer) |
|
static bool | WriteString (const fs::path &filename, const std::string &buffer) |
|
static void | ReadChunksFstream (const fs::path &filename, const std::size_t max_chunk_size, const std::function< bool(std::vector< byte > &&)> &callback) |
|
static void | ReadChunks (const fs::path &filename, const std::size_t max_chunk_size, const std::function< bool(std::vector< byte > &&)> &callback) |
|
Definition at line 22 of file FileUtils.hpp.
◆ Read()
static bool FileUtils::Read |
( |
const fs::path & |
filename, |
|
|
std::vector< byte > & |
buffer |
|
) |
| |
|
inlinestatic |
◆ ReadChunks()
static void FileUtils::ReadChunks |
( |
const fs::path & |
filename, |
|
|
const std::size_t |
max_chunk_size, |
|
|
const std::function< bool(std::vector< byte > &&)> & |
callback |
|
) |
| |
|
inlinestatic |
◆ ReadChunksFstream()
static void FileUtils::ReadChunksFstream |
( |
const fs::path & |
filename, |
|
|
const std::size_t |
max_chunk_size, |
|
|
const std::function< bool(std::vector< byte > &&)> & |
callback |
|
) |
| |
|
inlinestatic |
◆ ReadString()
static bool FileUtils::ReadString |
( |
const fs::path & |
filename, |
|
|
std::string & |
buffer |
|
) |
| |
|
inlinestatic |
◆ Write()
static bool FileUtils::Write |
( |
const fs::path & |
filename, |
|
|
const std::vector< byte > & |
buffer |
|
) |
| |
|
inlinestatic |
◆ WriteString()
static bool FileUtils::WriteString |
( |
const fs::path & |
filename, |
|
|
const std::string & |
buffer |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: