IODevice

IODevice device base class, may be used to conveniently implement an I/O class that is both an IInputDevice and IOutputDevice.

Members

Functions

write
ssize_t write(const(void)[] src)

Attempts to write src.length bytes, see IOutputDevice.write() documentation.

Inherited Members

From InputDevice

read
ssize_t read(void[] dst)

Attempts to read dst.length bytes, see IInputDevice.read() documentation.

From IOutputDevice

ssize_t
alias ssize_t = .ssize_t

Convenience type alias for subclasses/interfaces

write
ssize_t write(const(void)[] dst)

write() writes up to count bytes from the buffer pointed buf to the file referred to by the file descriptor fd.

Meta