Click or drag to resize

SerialPortReadBuffer Method

Synchronously reads the received data from the serial port to a byte array. It works only if AutoReceive property is false, otherwise returns null.

Namespace: ZylSoft.Serial
Assembly: ZylSerialPort (in ZylSerialPort.dll) Version: 1.83.8519.34486
Syntax
public byte[] ReadBuffer()

Return Value

Byte
Returns the current buffer of the serial port in a byte array and discards it. Returns null, if there is no data in the buffer.
See Also