PosixReader.hpp 612 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2022-12-16
  6. * Changed: 2022-12-16
  7. *
  8. * */
  9. #ifndef LS_STD_POSIX_READER_HPP
  10. #define LS_STD_POSIX_READER_HPP
  11. #include <ls_std/core/interface/IPosixReader.hpp>
  12. namespace ls::std::core::api
  13. {
  14. class PosixReader : public ls::std::core::interface_type::IPosixReader
  15. {
  16. public:
  17. PosixReader() = default;
  18. ~PosixReader() override = default;
  19. size_t read(int _unixFileDescriptor, void* _buffer, size_t _size) override;
  20. };
  21. }
  22. #endif