// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org) // Licensed under the Apache License, Version 2.0 (See accompanying // file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) // Official repository: https://github.com/nekernel-org/nectar #ifndef NECTAR_LIBNECTAR_IOSTREAM_NHH #define NECTAR_LIBNECTAR_IOSTREAM_NHH #include impl ostream { ostream() { return; } ~ostream() { return; } let write(let data, let size) { let fd_ := __fd(); let written := __write(fd_, data, size); return written; } let read(let region, let size) { let fd_ := __fd(); let readen := __read(fd_, data, size); return readen; } }; #endif // NECTAR_LIBNECTAR_IOSTREAM_NHH