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.SerialAssembly: ZylSerialPort (in ZylSerialPort.dll) Version: 1.86.9206.30146
Syntaxpublic IEnumerable<byte> ReadBufferToEnumerable()
Public Function ReadBufferToEnumerable As IEnumerable(Of Byte)
public:
IEnumerable<unsigned char>^ ReadBufferToEnumerable()
member ReadBufferToEnumerable : unit -> IEnumerable<byte>
public IEnumerable<byte> ReadBufferToEnumerable()
public function ReadBufferToEnumerable() : IEnumerable<byte>
function ReadBufferToEnumerable();
METHOD ReadBufferToEnumerable() AS IEnumerable<BYTE>
No code example is currently available or this language may not be supported.
Return Value
IEnumerableByte
Returns the current buffer of the serial port in List of bytes and discards it.
See Also