Click or drag to resize

SerialPortReadBufferToEnumerable Method

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

Namespace: ZylSoft.Serial
Assembly: ZylSerialPort (in ZylSerialPort.dll) Version: 1.86.9206.30146
Syntax
public IEnumerable<byte> ReadBufferToEnumerable()

Return Value

IEnumerableByte
Returns the current buffer of the serial port in List of bytes and discards it.
See Also