PosixReader.cpp 536 B

123456789101112131415161718192021
  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-25
  7. *
  8. * */
  9. #include <ls_std/common/api/io/PosixReader.hpp>
  10. ls::std::common::api::PosixReader::PosixReader()
  11. = default;
  12. ls::std::common::api::PosixReader::~PosixReader()
  13. = default;
  14. size_t ls::std::common::api::PosixReader::read(int _unixFileDescriptor, void *_buffer, size_t _size)
  15. {
  16. return ::read(_unixFileDescriptor, _buffer, _size);
  17. }