TBlockSerial.RecvBuffer
TBlockSerial
function RecvBuffer(buffer: Pointer; length: Integer): Integer;
Unit
SynaSer
Description
Waits until allocated buffer is filled by received data. Returns number of data received, which equals to LENGTH value under normal operation. If it is not equal the communication channel is possibly broken.