14 class ReadOnlyBuffer :
public std::stringbuf
17 ReadOnlyBuffer(std::string_view view);
22 std::unique_ptr<ReadOnlyBuffer> buffer;
25 ReadFileHandle(
const std::filesystem::path& filePath, std::ios_base::openmode mode = std::ios_base::in);
31 const std::string& readAllData();
39 std::streamsize readSome(std::string& outData, std::streamsize count,
bool shrinkOutData =
true,
bool resizeOutData =
true);
43 std::istream& getStream();