IODevice.write

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

class IODevice
abstract
ssize_t
write
(
const(void)[] src
)

Parameters

src const(void)[]

source data buffer

Returns the number of bytes written on success or -1 on error. On error errno is set appropriately.

Meta