15 class CachingBuffer :
public std::filebuf
19 std::filesystem::path filePath;
20 std::string cacheData;
21 bool isCachingAvailable;
24 bool increaseCacheData();
27 CachingBuffer(
class Cache& cache,
const std::filesystem::path& filePath, std::ios_base::openmode mode);
35 WriteFileHandle(
const std::filesystem::path& filePath, std::ios_base::openmode mode = std::ios_base::out);
40 void write(
const std::string& data);
44 std::ostream& getStream();