IODevice device base class, may be used to conveniently implement an I/O class that is both an IInputDevice and IOutputDevice.
Attempts to write src.length bytes, see IOutputDevice.write() documentation.
Attempts to read dst.length bytes, see IInputDevice.read() documentation.
Convenience type alias for subclasses/interfaces
write() writes up to count bytes from the buffer pointed buf to the file referred to by the file descriptor fd.
See Implementation
IODevice device base class, may be used to conveniently implement an I/O class that is both an IInputDevice and IOutputDevice.