IPosixReader.hpp 517 B

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