SerialPortNonBlk.read

Non-block read data from port

class SerialPortNonBlk
@nogc
void[]
read
(
void[] buf
)

Parameters

buf void[]

preallocated buffer for reading

Return Value

Type: void[]

slice of buf with readed data

Throws

PortClosedException if port closed ReadException if read error occurs

Meta