FileReader.hpp 560 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-08-17
  6. * Changed: 2020-08-17
  7. *
  8. * */
  9. #ifndef FILE_READER_HPP
  10. #define FILE_READER_HPP
  11. #include "../base/Class.hpp"
  12. #include "File.hpp"
  13. #include "IReader.hpp"
  14. namespace ls_std {
  15. class FileReader : public Class, IReader {
  16. public:
  17. explicit FileReader(File& _file);
  18. ~FileReader() = default;
  19. ls_std::byte* read() override;
  20. private:
  21. File file;
  22. };
  23. }
  24. #endif