SerialPortNonBlk.read

Non-block read data from port

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