SerialPort.read

Read data from port

class SerialPort
abstract
void[]
read
(
void[] buf
)

Parameters

buf void[]

buffer for reading

Return Value

Type: void[]

slice of buf

Throws

PortClosedException if port closed ReadException if read error occurs

Meta