18 FileReader(
const std::filesystem::path& filePath);
20 long long Read(BufferStrategy bufferStrategy = BufferStrategy::Buffered, std::ios::openmode mode = DEFAULT_OPENMODE);
22 const std::vector<char>& GetBuffer()
const;
25 const std::filesystem::path m_filePath;
26 std::vector<char> m_buffer;
28 static inline constexpr std::ios::openmode DEFAULT_OPENMODE = std::ios::in|std::ios::binary;
29 static inline constexpr size_t BUFFER_SIZE = 1024;