SerialPort.write

Write data to port

class SerialPort
abstract
ptrdiff_t
write
(
const(void[]) arr
)

Parameters

arr const(void[])

writed data

Return Value

Type: ptrdiff_t

count of writen bytes

Throws

PortClosedException if port closed WriteException if read error occurs

Meta