diff options
| author | jhurst <jhurst@cinecert.com> | 2006-04-21 17:32:06 +0000 |
|---|---|---|
| committer | jhurst <> | 2006-04-21 17:32:06 +0000 |
| commit | 4e83acbf365d9b87dfdc95aef5c46785b33d2269 (patch) | |
| tree | ffb7c03653dae138339b79a5f52f4986061f4eb3 /src/KM_fileio.h | |
| parent | 34464c5616c053942cf7bdbb919bd8845cb0ceae (diff) | |
kumu merge
Diffstat (limited to 'src/KM_fileio.h')
| -rwxr-xr-x | src/KM_fileio.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/KM_fileio.h b/src/KM_fileio.h index 9c79d49..b268ad7 100755 --- a/src/KM_fileio.h +++ b/src/KM_fileio.h @@ -113,9 +113,12 @@ namespace Kumu bool PathIsDirectory(const char* pathname); fsize_t FileSize(const char* pathname); - // reads an entire file into a string + // Reads an entire file into a string. Result_t ReadFileIntoString(const char* filename, std::string& outString, ui32_t max_size = 256 * Kilobyte); + // Writes a string to a file, overwrites the existing file if present. + Result_t WriteStringIntoFile(const char* filename, const std::string& inString); + // class FileReader { |
