PosixWriter.hpp 599 B

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