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.SerialAssembly: ZylSerialPort (in ZylSerialPort.dll) Version: 1.83.8519.34486
Syntax public byte[] ReadBuffer()
Public Function ReadBuffer As Byte()
public:
array<unsigned char>^ ReadBuffer()
member ReadBuffer : unit -> byte[]
public byte[] ReadBuffer()
public function ReadBuffer() : byte[]
METHOD ReadBuffer() AS BYTE[]
No code example is currently available or this language may not be supported.
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