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